Graphi...:Image(3pm)
π Graphics::Primitive::Image β the manual, but make it cute π
okay bestie, so this is the Graphics::Primitive::Image page from the Perl docs (that's the 3pm section, iykyk). Buckle up, it's short and sweet and honestly iconic.
β¨ NAME β¨
Graphics::Primitive::Image β it's an Image component. That's the whole vibe.
πΈ DESCRIPTION πΈ
So Graphics::Primitive::Image is a Component that displays in image. Yep. That's literally it, no cap. It's giving "does one thing and does it well" energy. π«Ά
π¦ SYNOPSIS π¦
Here's how you actually use it, bestie:
use Graphics::Primitive::Image;
my $img = Graphics::Primitive::Image->new(
image => '/path/to/filename'
);
That's it. That's the whole thing. You make one, you point it at a filename, you move on with your life. π
π WARNING π
THIS COMPONENT IS EXPERIMENTAL.
Not me warning you twice. It's experimental, okay? So likeβ¦ don't build your whole production empire on it yet, babe. π
π METHODS π
Constructor
newβ Creates a newGraphics::Primitive::Image. Brand new baby component, freshly born. π
Instance Methods
horizontal_alignmentβ Set/Get the horizontal alignment of this component's image. Left, right, whatever β you're in charge of the horizontal situation.imageβ Set/Get the filename of this component's image. This is the one that points at your actual file, so don't skip it.vertical_alignmentβ Set/Get the vertical alignment of this component's image. The up-and-down counterpart. Balance, bestie. β
π AUTHOR π
Cory Watson, "<gphat@cpan.org>". Living legend, fr fr.
π COPYRIGHT & LICENSE π
Copyright 2008-2010 by Cory G Watson.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. So like, share the love, same terms as Perl, you know the deal. π
and that's the whole page, bestie!! this one was documented with perl v5.34.0, dated 2022-06-14, and it lives in the Graphics::Primitive::Image manpage (3pm) β mwah, go forth and align your images horizontally and vertically π§β¨
π¦ 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