Line

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

public final class Line extends Shape

Represents line.

Constructors

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

Methods

MethodDescription
getPositionArray()Gets object that indicates the position array.The array is composed by coordinates of each control point of the line.
setPositionArray(float[] value)Sets object that indicates the position array.The array is composed by coordinates of each control point of the line.

Line()

public Line()

For Internal usage only

Line(float[] positionArray)

public Line(float[] positionArray)

Initializes a new instance of the Line class.

Parameters:

ParameterTypeDescription
positionArrayfloat[]The line position array.

getPositionArray()

public float[] getPositionArray()

Gets object that indicates the position array.The array is composed by coordinates of each control point of the line. directly.

Returns: float[] - that indicates the position array.

setPositionArray(float[] value)

public void setPositionArray(float[] value)

Sets object that indicates the position array.The array is composed by coordinates of each control point of the line. directly.

Parameters:

ParameterTypeDescription
valuefloat[]that indicates the position array.