TcxCanvas.Line(Integer,Integer,Integer,Integer) Method
In This Article
Draws a single straight line between two points on the canvas.
#Declaration
#Parameters
Name | Type |
---|---|
X1 | Integer |
Y1 | Integer |
X2 | Integer |
Y2 | Integer |
#Remarks
Call either of the overloaded procedure variants to draw a line according to the active pen settings. While the first variant accepts two points as the P1 and P2 parameter, the second variant accepts all point coordinates as four integers (X1, Y1, X2, Y2).
Note
These Line procedure implementations call the Move
See Also