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.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntaxpublic void BezierCurveTo(
double cp1x,
double cp1y,
double cp2x,
double cp2y,
double x,
double y
)
Public Sub BezierCurveTo (
cp1x As Double,
cp1y As Double,
cp2x As Double,
cp2y As Double,
x As Double,
y As Double
)
public:
virtual void BezierCurveTo(
double cp1x,
double cp1y,
double cp2x,
double cp2y,
double x,
double y
) sealed
abstract BezierCurveTo :
cp1x : float *
cp1y : float *
cp2x : float *
cp2y : float *
x : float *
y : float -> unit
override BezierCurveTo :
cp1x : float *
cp1y : float *
cp2x : float *
cp2y : float *
x : float *
y : float -> unit
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