NAME
Chart::Clicker::Decoration::LegendItem
DESCRIPTION
Chart::Clicker::Decoration::LegendItem represents a single item in a legend.
SYNOPSIS
use Chart::Clicker::Decoration::LegendItem;
use Graphics::Primitive::Font;
use Chart::Clicker::Drawing::Insets;
my $li = Chart::Clicker::Decoration::LegendItem->new({
insets => Chart::Clicker::Drawings::Insets->new(),
label => 'foo',
font => Graphics::Primitive::Font->new()
});
METHODS
Constructor
- new
-
Creates a new LegendItem object.
Instance Methods
- font
-
Set/Get this legend item's font.
- label
-
Set/Get this legend item's label.
AUTHOR
Cory 'G' Watson <gphat@cpan.org>
SEE ALSO
perl(1)
LICENSE
You can redistribute and/or modify this code under the same terms as Perl itself.