PDF::FromHTML::Template::Element::Line(3pm) | User Contributed Perl Documentation | PDF::FromHTML::Template::Element::Line(3pm) |
PDF::FromHTML::Template::Element::Line - To draw lines
LINE
PDF::FromHTML::Template::Element
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.
PDF::FromHTML::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 (rkinyon@columbus.rr.com)
PAGEDEF, HR
2023-02-14 | perl v5.36.0 |