logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Graphics::Primitive::Image - Image component

Author

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

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.

See Also