com.aspose.pdf.elements
Class Line

java.lang.Object
  extended by com.aspose.pdf.elements.Shape
      extended by com.aspose.pdf.elements.Line

public class Line
extends Shape

Represents a line Shape in a Graph.


Constructor Summary
Line(float[] posArray)
          Initialize a new instance of the Line class.
Line(java.lang.String posArray)
          Initialize a new instance of the Line class.
 
Method Summary
 float[] getPosArray()
          Gets a PositionArray object that indicates the position array.
The array is composed by coordinates of each control point of the line.
 void setPosArray(float[] posArray)
          Sets a PositionArray object that indicates the position array.
The array is composed by coordinates of each control point of the line.
 
Methods inherited from class com.aspose.pdf.elements.Shape
getGraphInfo, getID, setGraphInfo, setID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Line

public Line(float[] posArray)
Initialize a new instance of the Line class.


Line

public Line(java.lang.String posArray)
Initialize a new instance of the Line class.

Method Detail

getPosArray

public float[] getPosArray()
Gets a PositionArray object that indicates the position array.
The array is composed by coordinates of each control point of the line.

Returns:
Returns the posArray.

setPosArray

public void setPosArray(float[] posArray)
Sets a PositionArray object that indicates the position array.
The array is composed by coordinates of each control point of the line.

Parameters:
posArray - The posArray to set.