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.
Simon Ditner <email@example.com>, and Eric Maki <firstname.lastname@example.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.