ICanvasPathMethods.BezierCurveTo

ICanvasPathMethods.BezierCurveTo method

Adds a cubic Bézier curve to the path. It requires three points. The first two points are control points and the third one is the end point. The starting point is the last point in the current path, which can be changed using moveTo() before creating the Bézier curve.

public void BezierCurveTo(double cp1x, double cp1y, double cp2x, double cp2y, double x, double y)
ParameterTypeDescription
cp1xDoubleThe x axis of the coordinate for the first control point.
cp1yDoubleThe y axis of the coordinate for the first control point.
cp2xDoubleThe x axis of the coordinate for the second control point.
cp2yDoubleThe y axis of the coordinate for the second control point.
xDoubleThe x axis of the coordinate for the end point.
yDoubleThe y axis of the coordinate for the end point.

See Also