Graphi...Radial(3pm)
π NAME π
Graphics::Primitive::Paint::Gradient::Radial β it's the radial color blending one bestie, from the User Contributed Perl Documentation girlies π
β¨ DESCRIPTION β¨
Okay so Graphics::Primitive::Paint::Gradient::Radial is literally a color blend between two circles. Two. Circles. That's the whole vibe. It's giving glow, it's giving spotlight, it's giving that soft halo energy π¦
π SYNOPSIS π
use Graphics::Primitive::Paint::Gradient::Radial;
my $gradient = Graphics::Primitive::Gradient::Radial->new(
start => Geometry::Primitive::Circle->new(
origin => 0, 0,
radius => 5
),
end => Geometry::Primitive::Circle->new(
origin => 50, 25,
radius => 5
)
);
$gradient->add_stop(0.0, $color1);
$gradient->add_stop(1.0, $color2);
πΈ METHODS πΈ
π Constructor
newβ Creates a new Graphics::Primitive::Gradient. Baby's first gradient, periodt.
π§ Instance Methods
add_stopβ Adds a color stop at the specified position. That's it, that's the whole job πcolorsβ Hashref of colors and their stops. The stops are the keys. iykyk πendβ The "end" circle. The destination. The final boss β¨startβ The "start" circle. Where it all begins, main character energy πstop_countβ Count of stops added to this Gradient. Math girlies rise πstopsβ Get the keys of all color stops.
π AUTHOR π
Cory Watson <gphat@cpan.org> β the icon who made this happen π«Ά
π COPYRIGHT & LICENSE π
Copyright 2008-2010 by Cory G Watson.
You can redistribute and/or modify this code under the same terms as Perl itself. Slay, go off, legally πβ¨
And that's the whole page bestie!! This was perl v5.34.0, dated 2022-06-14, and yeah it's the same Graphi...Radial(3pm) you came in for β no cap, go build a gradient ππ¦π
π¦ where this page comes from
- debian bookworm: libgraphics-primitive-perl 0.67-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libgraphics-primitive-perl 0.67-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libgraphics-primitive-perl 0.67-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgraphics-primitive-perl 0.67-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgraphics-primitive-perl 0.67-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms