CubicCurveTo
Inherits from: PathElement
Overview
Creates a curved path element, defined by three new points, by drawing a Cubic Bézier curve that intersects both the current coordinates and the specified coordinates (x,y), using the specified points (controlX1,controlY1) and (controlX2,controlY2) as Bézier control points. All coordinates are specified in double precision.
Profile: common
Variable Summary
| name | type | Default Value | description |
|---|---|---|---|
| controlX1 | Number | 0.0 |
Defines the X coordinate of the first Bézier control point. |
| controlY1 | Number | 0.0 |
Defines the Y coordinate of the first Bézier control point. |
| controlX2 | Number | 0.0 |
Defines the X coordinate of the second Bézier control point. |
| controlY2 | Number | 0.0 |
Defines the Y coordinate of the second Bézier control point. |
| x | Number | 0.0 |
Defines the X coordinate of the final end point. |
| y | Number | 0.0 |
Defines the Y coordinate of the final end point. |
Inherited Variables
PathElement
| name | type | Default Value | description |
|---|---|---|---|
| absolute | Boolean | true |
A flag that indicates whether the path coordinates are absolute or relative. A value of true indicates that the coordinates are absolute values. A value of false indicates that the values in this PathElement are added to the coordinates of the previous PathElement to compute the actual coordinates. |
