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
PDF::Template::Element::Line(3) User Contributed Perl Documentation PDF::Template::Element::Line(3)

PDF::Template::Element::Line

To draw lines

LINE

PDF::Template::Element

  • X1 / X2 / Y1 / Y2 The line is drawn from (X1,Y1) to (X2,Y2).

    If neither X1 nor X2 are set, X1 is set to the lefthand margin and X2 is set to X1 + W. If only one is set, the other is set to the first +/- W.

    If either of the Y values is not set, it is set to the current Y value.

  • W This is the width of the line to be drawn. Used only in calculating X1/X2/Y1/Y2 and only if needed. (q.v. above) Defaults to the distance between the left and right margins. (q.v. PAGEDEF for more information on these parameters.)
  • WIDTH This is the thickness of the line to be drawn. Defaults to 1 pixel.
  • COLOR This is the color to draw the line in. Defaults to black.

PDF::Template::Element::HorizontalRule

Nothing

None

  <line X1="1i" Y1="1i" X2="3i" Y2="2i" WIDTH="3" COLOR="0,0,255"/>

This will draw a blue line 3 pixels thick from the spot 1" in from the left and top to the spot 3" from the left and 2" from the top.

Rob Kinyon (rob.kinyon@gmail.com)

PAGEDEF, HR

Hey! The above document had some coding errors, which are explained below:
Around line 140:
=back doesn't take any parameters, but you said =back 4
2005-01-11 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.