|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaspose.pdf.Shape
aspose.pdf.Line
public class Line
Represents a line Shape
in a Graph.
Typical usages are the following:
Constructor Summary | |
---|---|
Line()
Initializes a new instance of the Graph class. |
|
Line(float[] positionArray)
Initializes a new instance of the Graph class. |
|
Line(Graph graph)
Initializes a new instance of the Graph class. |
|
Line(Graph graph,
float[] positionArray)
Initializes a new instance of the Line class. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Duplicate a new Line object |
void |
drawArrow(Graph graph)
Draw the arrow of line. |
PositionArray |
getPositionArray()
Gets a PositionArray object that indicates the position array.The array
is composed by coordinates of each control point of the line.Note that
you can use the Graph constructor to create a Line object
and need not use this class directly. |
void |
setPositionArray(PositionArray posArr)
Sets a PositionArray object that indicates the position array.The array
is composed by coordinates of each control point of the line.Note that
you can use the Graph constructor to create a Line object
and need not use this class directly. |
Methods inherited from class aspose.pdf.Shape |
---|
getGraphInfo, getID, setGraphInfo, setID |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Line()
Graph
class.
public Line(float[] positionArray)
Graph
class.
positionArray
- The line position array.public Line(Graph graph)
Graph
class.
graph
- The specified Graph object.
Remarks: This constructor can inherit common property values from the specified
Graph
object.
public Line(Graph graph, float[] positionArray)
graph
- The specified Graph object.positionArray
- The line position array.The array is composed by
coordinates of each control point of the line.
Remarks: This constructor can inherit common property values from the specified
Graph
object.
Method Detail |
---|
public PositionArray getPositionArray()
PositionArray
object that indicates the position array.The array
is composed by coordinates of each control point of the line.Note that
you can use the Graph
constructor to create a Line object
and need not use this class directly.
public void setPositionArray(PositionArray posArr)
PositionArray
object that indicates the position array.The array
is composed by coordinates of each control point of the line.Note that
you can use the Graph
constructor to create a Line object
and need not use this class directly.
posArr
- public void drawArrow(Graph graph)
graph
- public java.lang.Object clone()
Line
object
clone
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |