Graphics::Grid::ViewportTree - Viewport tree
version 0.0001
This is a subclass of Forest::Tree, storing viewports at tree nodes.
my $viewport = $tree->node;
Get the viewport from the tree node.
my $viewports = $tree->path_from_root();
Return an array of viewports, starting from the root node of the whole tree, all the way down in the tree and to the calling node.
my $tree_as_a_string = $tree->stringify();
Return the tree structure as a string.
Graphics::Grid::Viewport
Forest::Tree
Stephan Loyd <sloyd@cpan.org>
This software is copyright (c) 2018 by Stephan Loyd.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Graphics::Grid, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Graphics::Grid
CPAN shell
perl -MCPAN -e shell install Graphics::Grid
For more information on module installation, please visit the detailed CPAN module installation guide.