| Image-TextMode documentation | Contained in the Image-TextMode distribution. |
Image::TextMode::Font - A base class for text mode fonts
Represents a font in text mode. That is, an array of characters represented by an array of byte scanlines.
Creates a new font object.
Brian Cassidy <bricas@cpan.org>
Copyright 2008-2011 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Image-TextMode documentation | Contained in the Image-TextMode distribution. |
package Image::TextMode::Font; use Moose; has 'width' => ( is => 'rw', isa => 'Int', default => 0 ); has 'height' => ( is => 'rw', isa => 'Int', default => 0 ); has 'chars' => ( is => 'rw', isa => 'ArrayRef', default => sub { [] } ); no Moose; __PACKAGE__->meta->make_immutable;
1;