Graphi...:Image(3pm)

πŸ“¦
version 0.67 Β· 2 versions
  • 0.67 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.67 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 new Graphics::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 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