public final class Curve extends Shape
Represents bezier curve.
Constructor and Description |
---|
Curve()
For Internal usage only
|
Curve(float[] positionArray)
Initializes a new instance of the
Curve class. |
Modifier and Type | Method and Description |
---|---|
float[] |
getPositionArray()
Gets a float position array.
|
void |
setPositionArray(float[] value)
Sets a float position array.
|
getGraphInfo, getText, setGraphInfo, setText
public Curve()
For Internal usage only
public Curve(float[] positionArray)
Initializes a new instance of the Curve
class.
positionArray
- The position array of the control points of the curve.There should be four control points,so
the length of the array should be eight.