Image::ANSI::Pixel - Pixel object
$pixel = Image::ANSI::Pixel->new; # foreground color $pixel->fg( $fg ); # background color $pixel->bg( $bg ); # blinking $pixel->blink( $blink ); # or all 3 from an attribute byte $pixel->attr( $attr ); # the character $pixel->char( $char );
Create a new pixel and set its attributes.
Set the foreground, background and blink properties from an attribute byte.
Set the foreground color
Set the background color
Set the blink property
Set the character to be displayed
Copyright 2004-2009 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.