Applies to |
Adds a line (segment or arc) to the contour.
Contour.AddLineTo ( [Point As Point], [angle As Double] ) As Boolean
The AddLineTo method adds a line (segment or arc) to the Contour.
The point parameter is an ending point of the created line. If point is omitted, the line is drawn to the contour starting point, so the contour becomes closed.
The angle parameter specifies the central angle of the arc in radians. Zero angle (default ) specifies a line segment.
If the contour is empty, the first call of the AddLineTo method does nothing but remembering point as a starting point of the contour. The line will be created by the next call of AddLineTo.