Brian Cassidy > Image-TextMode > Image::TextMode::Pixel

Download:
Image-TextMode-0.23.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Image::TextMode::Pixel - A base class to represent a text mode "pixel"

DESCRIPTION ^

Represents a "pixel; i.e. a character plus, foreground and background colors and an blink mode setting.

ACCESSORS ^

METHODS ^

new( %args )

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.

BUILDARGS( %args )

A Moose override to extract the attr key and convert it to components, should it exist.

AUTHOR ^

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: