| 1 | package Image::TextMode::Format::Tundra; | ||
| 2 | |||
| 3 | 3 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | ▶ | use Types::Standard qw( HashRef ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 3 | extends 'Image::TextMode::Format', 'Image::TextMode::Canvas'; | |
| 7 | |||
| 8 | has 'header' => ( | ||
| 9 | is => 'rw', | ||
| 10 | isa => HashRef, | ||
| 11 | 3 | ▶ | default => sub { { int_id => 24, id => 'TUNDRA24' } } |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 12 | 3 | ); | |
| 13 | |||
| 14 | 3 | ▶ | has '+render_options' => ( default => sub { { truecolor => 1 } } ); |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | 1 | ▶ | sub extensions { return 'tnd' } |
|
Subroutine
extensions: called CC=1 SCAR=0.0
Pod
documented
| |||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Image::TextMode::Format::Tundra - read and write Tundra files | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | The Tundra format. | ||
| 25 | |||
| 26 | =head1 ACCESSORS | ||
| 27 | |||
| 28 | =over 4 | ||
| 29 | |||
| 30 | =item * header - A header hashref containing a version number and id | ||
| 31 | |||
| 32 | =back | ||
| 33 | |||
| 34 | =head1 METHODS | ||
| 35 | |||
| 36 | =head2 new( %args ) | ||
| 37 | |||
| 38 | Creates a Tundra instance. | ||
| 39 | |||
| 40 | =head2 extensions( ) | ||
| 41 | |||
| 42 | Returns 'tnd'. | ||
| 43 | |||
| 44 | =head1 AUTHOR | ||
| 45 | |||
| 46 | Brian Cassidy E<lt>bricas@cpan.orgE<gt> | ||
| 47 | |||
| 48 | =head1 COPYRIGHT AND LICENSE | ||
| 49 | |||
| 50 | Copyright 2008-2015 by Brian Cassidy | ||
| 51 | |||
| 52 | This library is free software; you can redistribute it and/or modify | ||
| 53 | it under the same terms as Perl itself. | ||
| 54 | |||
| 55 | =cut | ||
| 56 | |||
| 57 | 3 | 1; | |