| Image-XBin documentation | view source | Contained in the Image-XBin distribution. |
Image::XBin::Pixel - Pixel object
$pixel = Image::XBin::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 2003-2009 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Image-XBin documentation | view source | Contained in the Image-XBin distribution. |