Icon LineTo Method

procedure LineTo(X,Y: Double)

Available In: Visual Client Applications

Use this method to add a straight line to the current subpath of the canvas, with the current point used as the starting point of the line. After this method is called, the current point of the canvas is set to the specified ending point.
Image