NAME

Graphics::Primitive::Image - Image component

DESCRIPTION

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

SYNOPSIS

  use Graphics::Primitive::Image;

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

WARNING

THIS COMPONENT IS EXPERIMENTAL.

METHODS

Constructor

new

Creates a new Graphics::Primitive::Image.

Instance Methods

horizontal_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.

AUTHOR

Cory Watson, <gphat@cpan.org>

Infinity Interactive, http://www.iinteractive.com

BUGS

Please report any bugs or feature requests to bug-geometry-primitive at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Geometry-Primitive. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

COPYRIGHT & LICENSE

Copyright 2008 by Infinity Interactive, Inc.

http://www.iinteractive.com

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.