NAME
Image::XBin::Pixel - Pixel object
SYNOPSIS
$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 );
METHODS
new( %options )
Create a new pixel and set its attributes.
attr( [$attr] )
Set the foreground, background and blink properties from an attribute byte.
fg( [$fg] )
Set the foreground color
bg( [$bg] )
Set the background color
blink( [$blink] )
Set the blink property
character( [$char] )
Set the character to be displayed
AUTHOR
Brian Cassidy <bricas@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2004 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.