GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Graphics::Primitive::TextBox(3) User Contributed Perl Documentation Graphics::Primitive::TextBox(3)

Graphics::Primitive::TextBox - 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.

new
Creates a new Graphics::Primitive::TextBox.

angle
The angle this text will be rotated.
font
Set this textbox's font
horizontal_alignment
Horizontal alignment. See Graphics::Primitive::Aligned.
text
Set this textbox's text.
vertical_alignment
Vertical alignment. See Graphics::Primitive::Aligned.

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.

2015-01-04 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.