NAME
Graphics::Grid::GTree - gtree
VERSION
version 0.001
SYNOPSIS
use Graphics::Grid::GTree;
use Graphics::Grid::GPar;
my $gtree = Graphics::Grid::GTree->new(
children => [
Graphics::Grid::Grob::Rect->new(...),
Graphics::Grid::Grob::Points->new(...),
]
gp => Graphics::Grid::GPar->new(...),
);
# or use the function interface
use Graphics::Grid::Functions qw(:all);
my $gtree = gtree(%params);
DESCRIPTION
A "gtree" can have other grobs as children. When a gtree is dawn, it draws all of its children.
It is a subclass of Forest::Tree.
METHODS
make_content()
A hook to allow a derived class to modify its children before being drawn.
SEE ALSO
AUTHOR
Stephan Loyd <sloyd@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018-2023 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.