DOKK / manpages / debian 12 / libgraphics-primitive-perl / Graphics::Primitive::Image.3pm.en
Graphics::Primitive::Image(3pm) User Contributed Perl Documentation Graphics::Primitive::Image(3pm)

Graphics::Primitive::Image - Image component

Graphics::Primitive::Image is a Component that displays in image.

  use Graphics::Primitive::Image;
  my $img = Graphics::Primitive::Image->new(
      image => '/path/to/filename'
  );

THIS COMPONENT IS EXPERIMENTAL.

Creates a new Graphics::Primitive::Image.

Set/Get the horizontal alignment of this component's image.
Set/Get the filename of this components image.
Set/Get the vertical alignment of this component's image.

Cory Watson, "<gphat@cpan.org>"

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.

2022-06-14 perl v5.34.0