Treemap::Output - Creates an output object with methods suitable for use with a Treemap object.
This base class is not meant to be directly instantiated. Subclasses of Treemap::Output which implement output to various formats shoud be instantiated instead. See the SEE ALSO section below for existing output methods.
The following methods must be implemented, accepting the following parameters:
Co-ordinates are absolute and floating point, and colour is specified with HTML-esque strings (#RRGGBB)
Co-ordinates are absolute and floating point, text is the string you will be printing, and children is a flag that will be set true, or false depending on whether there will be any items contained within this rectangle that you're labeling. This is primarily used for positining the text.
Treemap::Output::Imager, Treemap::Output::PrintedText
Simon Ditner <simon@uc.org>, and Eric Maki <eric@uc.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
=back doesn't take any parameters, but you said =back 4
To install Treemap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Treemap
CPAN shell
perl -MCPAN -e shell install Treemap
For more information on module installation, please visit the detailed CPAN module installation guide.