Path2DBezierCurveTo 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.

Namespace: Aspose.Html.Dom.Canvas
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntax
public void BezierCurveTo(
	double cp1x,
	double cp1y,
	double cp2x,
	double cp2y,
	double x,
	double y
)

Parameters

cp1x
Type: SystemDouble
The x axis of the coordinate for the first control point.
cp1y
Type: SystemDouble
The y axis of the coordinate for the first control point.
cp2x
Type: SystemDouble
The x axis of the coordinate for the second control point.
cp2y
Type: SystemDouble
The y axis of the coordinate for the second control point.
x
Type: SystemDouble
The x axis of the coordinate for the end point.
y
Type: SystemDouble
The y axis of the coordinate for the end point.

Implements

ICanvasPathMethodsBezierCurveTo(Double, Double, Double, Double, Double, Double)
See Also