Graphics::Primitive::TextBox
Text component
- Provided by: libgraphics-primitive-perl (Version: 0.67-1)
- Report a bug
Text component
Graphics::Primitive::TextBox is a Component with text.
use Graphics::Primitive::Font;
use Graphics::Primitive::TextBox;
my $tx = Graphics::Primitive::TextBox->new(
font => Graphics::Primitive::Font->new(
face => 'Myriad Pro',
size => 12
),
text => 'I am a textbox!'
);
This component is likely to change drastically. Here be dragons.
Cory Watson, "<gphat@cpan.org>"
Copyright 2008-2010 by Cory G Watson.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.