Line

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

public final class Line extends Shape

Represents line.

Constructors

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

Methods

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

Line()

public Line()

For Internal usage only

Line(float[] positionArray)

public Line(float[] positionArray)

Initializes a new instance of the Line class.

Parameters:

Parameter Type Description
positionArray float[] 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:

Parameter Type Description
value float[] that indicates the position array.