Curve

Inheritance: java.lang.Object, com.aspose.pdf.drawing.Shape

public final class Curve extends Shape

Represents bezier curve.

Constructors

ConstructorDescription
Curve()For Internal usage only
Curve(float[] positionArray)Initializes a new instance of the Curve class.

Methods

MethodDescription
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:

ParameterTypeDescription
positionArrayfloat[]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:

ParameterTypeDescription
valuefloat[]float[] array