Graphics::Primitive::Image - Image component
Contents
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.
perl v5.34.0 2022-06-14 Graphics::Primitive::Image(3pm)
Description
Graphics::Primitive::Image is a Component that displays in image.
Methods
Constructornew Creates a new Graphics::Primitive::Image.
InstanceMethodshorizontal_alignment
Set/Get the horizontal alignment of this component's image.
image
Set/Get the filename of this components image.
vertical_alignment
Set/Get the vertical alignment of this component's image.
Name
Graphics::Primitive::Image - Image component
Synopsis
use Graphics::Primitive::Image;
my $img = Graphics::Primitive::Image->new(
image => '/path/to/filename'
);
Warning
THISCOMPONENTISEXPERIMENTAL.
