Adds a line to the current figure of this path.
Namespace: RSGdiPlusGraphics
Delphi |
public |
Parameters
Pt1
Type: TPointF
point at which to start the line.
Pt2
Type: TPointF
point at which to end the line.
Type: TRSGPPath
The function returns the current path so that you can chain together commands, e.g., aPath.MoveTo(PointF(50,50)).LineTo(PointF(100,100).AddPolygon(Polygon1).AddEllipse(RectF(10,10,200,100)); |