Navigation: Code Documentation > RSFMXCommon > FMX.RS.CanvasHelper > Classes > TFMXCanvasHelper > Methods
TFMXCanvasHelper.DrawLine(TPoint,TPoint,Single) 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: TPoint; const Opacity: Single = 1 ); overload;
Parameters
Pt1
Type: TPoint
Pt2
Opacity
Type: Single
•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