Procedure LineTo creates a line object in the document. LineTo draws from the current graphics pen position to the specified coordinate location. The line object is drawn with the current default attributes unless otherwise specified in the VectorScript routine.
PROCEDURE LineTo(pX,pY : REAL);def vs.LineTo(p):
return None| Name | Type | Description |
|---|---|---|
| p | REAL | Line endpoint. |
(Joel Sciamma, 2006.08.14): After the line is drawn, the graphics pen is set to the end of the line ready to draw another object. Use MoveTo to reset the graphics pen position.
LineTo(3,4);
{draws a line from the current pen position to (3, 4)}VS Functions: Absolute | Relative
Availability: from All Versions