NAME

Graphics::Primitive::TextBox - Text component

DESCRIPTION

Graphics::Primitive::TextBox is a Componet with text.

SYNOPSIS

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!'
);

WARNING

This component is likely to change drastically. Here be dragons.

METHODS

Constructor

new

Creates a new Graphics::Primitive::TextBox.

Instance Methods

font

Set this textbox's font

text

Set this textbox's text.

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.

http://www.iinteractive.com

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.