NAME
Chart::Clicker::Drawing::Font
DESCRIPTION
Chart::Clicker::Drawing::Font represents the various options that are available when rendering text on the chart.
EXPORTS
$CC_FONT_SLANT_NORMAL $CC_FONT_SLANT_ITALIC $CC_FONT_SLANT_OBLIQUE
$CC_FONT_WEIGHT_NORMAL $CC_FONT_WEIGHT_BOLD
SYNOPSIS
use Chart::Clicker::Drawing::Font;
my $font = new Chart::Clicker::Drawing::Font({
face => 'Sans',
size => 12,
slant => $Chart::Clicker::Drawing::FONT_SLANT_NORMAL
});
METHODS
Constructor
- new
-
Creates a new Chart::Clicker::Decoration::Font.
Class Methods
- size
-
Set/Get the size of this text.
- slant
-
Set/Get the slant of this text.
- weight
-
Set/Get the weight of this text.
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.