TcxCustomCanvas.Line(TPoint,TPoint,TColor,Integer,TPenStyle) Method
In This Article
Draws a single straight line on the canvas.
#Declaration
Delphi
#Parameters
Name | Type |
---|---|
P1 | TPoint |
P2 | TPoint |
AColor | TColor |
APen |
Integer |
APen |
TPen |
#Remarks
Call this procedure and pass two points as the P1 and P2 parameters to connect them with a simple line whose color is passed as the AColor parameter.
See Also