|
com.aspose.pdf.elements
Class Line
java.lang.Object
com.aspose.pdf.elements.Shape
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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.
|