Image::TextMode::Pixel - A base class to represent a text mode "pixel"
Represents a "pixel; i.e. a character plus, foreground and background colors and an blink mode setting.
char - The character for the pixel
fg - The foreground palette index
bg - The background palette index
blink - The blink bit
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.
attr
blink_mode
A Moose override to extract the attr key and convert it to components, should it exist.
Brian Cassidy <bricas@cpan.org>
Copyright 2008-2013 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Image::TextMode, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::TextMode
CPAN shell
perl -MCPAN -e shell install Image::TextMode
For more information on module installation, please visit the detailed CPAN module installation guide.