TcxCanvas.LineTo(Integer,Integer) Method
In This Article
Draws a single straight line between the current pen position and a specified point on the canvas.
#Declaration
#Parameters
Name | Type |
---|---|
X | Integer |
Y | Integer |
#Remarks
Call this procedure and pass the coordinates of a point as the X and Y parameters to draw a line between this point and the current pen position according to the active pen settings. A LineTo procedure call also moves the current pen position to the target point on the canvas, like the MoveTo procedure does.
See Also