Image::TextMode::Animation - A base class for text mode animation file formats


Image-TextMode documentation  | view source Contained in the Image-TextMode distribution.

Index


NAME

Top

Image::TextMode::Animation - A base class for text mode animation file formats

DESCRIPTION

Top

This class should be used for any format that requires a sequence of frames for display.

ACCESSORS

Top

* frames - an arrayref of frame objects

METHODS

Top

new( %args )

Creates a new instance.

add_frame( $frame )

Adds a frame to the end of the array.

width( )

Returns the largest frame width.

height( )

Returns the largest frame height.

dimensions( )

Returns the a list containing the values of width and height.

as_ascii( )

Returns all of the text from all of the frames.

PROXIED METHODS

Top

The following methods are proxies to the last element in frames.

* getpixel
* getpixel_obj
* putpixel
* clear_screen
* clear_line

AUTHOR

Top

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Top


Image-TextMode documentation  | view source Contained in the Image-TextMode distribution.