Method AddBezierTo
AddBezierTo(PointD, PointD, PointD)
Adds a cubic Bézier curve to the current figure.
void AddBezierTo(PointD controlPoint1, PointD controlPoint2, PointD endPoint)
Parameters
controlPoint1
PointDA PointD that represents the first control point for the curve.
controlPoint2
PointDA PointD that represents the second control point for the curve.
endPoint
PointDA PointD that represents the endpoint of the curve.
Remarks
The cubic curve is constructed from the last point in the figure to the fourth point by using the second and third points as control points. If there is a previous line or curve segment in the figure, a line is added to connect the endpoint of the previous segment to the starting point of the cubic curve.