Method AddBezier
AddBezier(PointD, PointD, PointD, PointD)
Adds a cubic Bezier curve to the current figure.
void AddBezier(PointD startPoint, PointD controlPoint1, PointD controlPoint2, PointD endPoint)
Parameters
startPointPointDA PointD that represents the starting point of the curve.
controlPoint1PointDA PointD that represents the first control point for the curve.
controlPoint2PointDA PointD that represents the second control point for the curve.
endPointPointDA PointD that represents the endpoint of the curve.
Remarks
The cubic curve is constructed from the first point 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.