SplineKnot
SplineKnot class
Contains x- and y-coordinates for a spline’s control point and a spline’s knot, represented by the X, Y, and A elements, respectively.
new SplineKnot()
Creates an instance of the SplineKnot class.
Methods
| Name | Description |
|---|---|
| deepClone() | Creates deep copy of this instance. |
| getA() | One of the spline’s knots (other than the last one or the first two). |
| getDel() | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| getIX() | The zero-based index of the element within its parent element. |
| getX() | The x-coordinate of a control point. |
| getY() | The y-coordinate of a control point. |
| setA() | One of the spline’s knots (other than the last one or the first two). |
| setDel() | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| setIX() | The zero-based index of the element within its parent element. |
| setX() | The x-coordinate of a control point. |
| setY() | The y-coordinate of a control point. |
deepClone()
Creates deep copy of this instance.
Returns: Object — Object
getA()
One of the spline’s knots (other than the last one or the first two).
getDel()
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
getIX()
The zero-based index of the element within its parent element.
getX()
The x-coordinate of a control point.
getY()
The y-coordinate of a control point.
setA()
One of the spline’s knots (other than the last one or the first two).
setDel()
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
setIX()
The zero-based index of the element within its parent element.
setX()
The x-coordinate of a control point.
setY()
The y-coordinate of a control point.