Navigation: Code Documentation > RSFMXCommon > FMX.RS.CanvasHelper > Classes > TFMXCanvasHelper > Methods
TFMXCanvasHelper.DrawLine(TPointF,TPointF) Method
Draws a line on the canvas from Pt1 to the Pt2.
The line is drawn using Pen.
Namespace: FMX.RS.CanvasHelper
Delphi
public procedure DrawLine( Pt1, Pt2: TPointF ); overload;
Parameters
Pt1
Type: TPointF
Pt2
•FMX.RS.CanvasHelper.TFMXCanvasHelper.LineTo(Integer,Integer)
•FMX.RS.CanvasHelper.TFMXCanvasHelper.MoveTo(Integer,Integer)
•FMX.RS.CanvasHelper.TFMXCanvasHelper.Pen
•FMX.RS.CanvasHelper.TFMXCanvasHelper.Polyline(TPointF[],Single)
•TFMXCanvasHelper
•FMX.RS.CanvasHelper