Image::TextMode::Pixel - A base class to represent a text mode "pixel"


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

Index


NAME

Top

Image::TextMode::Pixel - A base class to represent a text mode "pixel"

DESCRIPTION

Top

Represents a "pixel; i.e. a character plus, foreground and background colors and an blink mode setting.

ACCESSORS

Top

* char - The character for the pixel
* fg - The foreground palette index
* bg - The background palette index

METHODS

Top

new( %args )

Creates a new pixel. If you supply an attr argument, then it will be broken down into its components (fg, bg, and blink). By default, blink mode is off (aka iCEColor is on). Pass a true value for blink_mode to enabled it.

BUILDARGS( %args )

A Moose override to extract the attr key and convert it to components, should it exist.

AUTHOR

Top

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Top


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