Curve
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.drawing.Shape
public final class Curve extends Shape
Represents bezier curve.
Constructors
| Constructor | Description |
|---|---|
| Curve() | For Internal usage only |
| Curve(float[] positionArray) | Initializes a new instance of the Curve class. |
Methods
| Method | Description |
|---|---|
| getPositionArray() | Gets a float position array. |
| setPositionArray(float[] value) | Sets a float position array. |
Curve()
public Curve()
For Internal usage only
Curve(float[] positionArray)
public Curve(float[] positionArray)
Initializes a new instance of the Curve class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| positionArray | float[] | 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. |
getPositionArray()
public float[] getPositionArray()
Gets a float position array.
Returns: float[] - float[] array
setPositionArray(float[] value)
public void setPositionArray(float[] value)
Sets a float position array.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | float[] | float[] array |