NAME
Chart::Clicker::Decoration::LegendItem
DESCRIPTION
Chart::Clicker::Decoration::LegendItem represents a single item in a legend.
SYNOPSIS
use Chart::Clicker::Decoration::LegendItem;
use Chart::Clicker::Drawing::Color;
use Chart::Clicker::Drawing::Font;
use Chart::Clicker::Drawing::Insets;
my $li = new Chart::Clicker::Decoration::LegendItem({
color => new Chart::Clicker::Drawing::Color({ name => 'black' }),
insets => new Chart::Clicker::Drawings::Insets(),
label => 'foo',
font => new Chart::Clicker::Drawing::Font()
});
METHODS
Constructor
- new
-
Creates a new LegendItem object.
Class Methods
- color
-
Set/Get this legend item's color.
- insets
-
Set/Get this legend item's insets.
- label
-
Set/Get this legend item's label.
- font
-
Set/Get this legend item's font.
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.