Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Image::ANSI::Pixel
Pixel object

Image::ANSI::Pixel - Pixel object


NAME

Image::ANSI::Pixel - Pixel object


SYNOPSIS


        $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 );


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

char( [$char] )

Set the character to be displayed


AUTHOR


COPYRIGHT AND LICENSE

Copyright 2005 by Brian Cassidy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy