|
com.aspose.pdf.elements
Class Graph
java.lang.Object
com.aspose.pdf.elements.PdfElementBase
com.aspose.pdf.elements.Paragraph
com.aspose.pdf.elements.Graph
- All Implemented Interfaces:
- java.lang.Cloneable
public class Graph - extends Paragraph
Represents a graph Paragraph.
|
Constructor Summary |
Graph(Section section)
Initialize a new instance of the Graph class. |
Graph(Section section,
float width,
float height)
Initialize a new instance of the Graph class. |
|
Method Summary |
java.lang.Object |
clone()
Graph does not support clone method. |
float |
getGraphHeight()
Gets a float value that indicates the graph height. |
GraphInfo |
getGraphInfo()
Gets a GraphInfo object that indicates the graph info. |
float |
getGraphWidth()
Gets a float value that indicates the graph width. |
Shapes |
getShapes()
Gets a Shapes collection that indicates all shapes in the graph. |
void |
setGraphHeight(float graphHeight)
Sets a float value that indicates the graph height. |
void |
setGraphInfo(GraphInfo graphInfo)
Sets a GraphInfo object that indicates the graph info. |
void |
setGraphWidth(float graphWidth)
Sets a float value that indicates the graph width. |
void |
setShapes(Shapes shapes)
Sets a Shapes collection that indicates all shapes in the graph. |
| Methods inherited from class com.aspose.pdf.elements.Paragraph |
getDOMElement, getLeft, getMargin, getTop, isDisabled, isFirstParagraph, isKeptTogether, isOnOddPage, setDisabled, setFirstParagraph, setKeptTogether, setLeft, setMargin, setOnOddPage, setTop |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Graph
public Graph(Section section)
- Initialize a new instance of the Graph class.
Graph
public Graph(Section section,
float width,
float height)
- Initialize a new instance of the Graph class.
- Parameters:
section - section the Graph located inwidth - the width of the Graphheight - the height of the Graph
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Graph does not support clone method.
- Overrides:
clone in class Paragraph
- Throws:
java.lang.CloneNotSupportedException- See Also:
Object.clone()
getGraphHeight
public float getGraphHeight()
- Gets a float value that indicates the graph height. The unit is point.
- Returns:
- Returns the graphHeight.
setGraphHeight
public void setGraphHeight(float graphHeight)
- Sets a float value that indicates the graph height. The unit is point.
- Parameters:
graphHeight - The graphHeight to set.
getGraphInfo
public GraphInfo getGraphInfo()
- Gets a GraphInfo object that indicates the graph info.
- Returns:
- Returns the graphInfo.
setGraphInfo
public void setGraphInfo(GraphInfo graphInfo)
- Sets a GraphInfo object that indicates the graph info.
- Parameters:
graphInfo - The graphInfo to set.
getGraphWidth
public float getGraphWidth()
- Gets a float value that indicates the graph width. The unit is point.
- Returns:
- Returns the graphWidth.
setGraphWidth
public void setGraphWidth(float graphWidth)
- Sets a float value that indicates the graph width. The unit is point.
- Parameters:
graphWidth - The graphWidth to set.
getShapes
public Shapes getShapes()
- Gets a Shapes collection that indicates all shapes in the graph.
- Returns:
- Returns the shapes.
setShapes
public void setShapes(Shapes shapes)
- Sets a Shapes collection that indicates all shapes in the graph.
- Parameters:
shapes - The shapes to set.
|