NAME
Graphics::Primitive::Font
DESCRIPTION
Graphics::Primitive::Font represents the various options that are available when rendering text.
SYNOPSIS
use Graphics::Primitive::Font;
my $font = Graphics::Primitive::Font->new({
face => 'Sans',
size => 12,
slant => 'normal'
});
METHODS
Constructor
- new
-
Creates a new Graphics::Primitive::Font.
Instance Methods
- face
-
Set this font's face.
- size
-
Set/Get the size of this font.
- slant
-
Set/Get the slant of this font. Valid values are normal, italic and oblique.
- weight
-
Set/Get the weight of this font. Value valies are normal and bold.
AUTHOR
Cory Watson, <gphat@cpan.org>
Infinity Interactive, http://www.iinteractive.com
BUGS
Please report any bugs or feature requests to bug-geometry-primitive at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Geometry-Primitive. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
COPYRIGHT & LICENSE
Copyright 2008 by Infinity Interactive, Inc.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.