com.aspose.pdf.elements
Class Shape

java.lang.Object
  extended by com.aspose.pdf.elements.Shape
Direct Known Subclasses:
Arc, Circle, Curve, Ellipse, Line, Rectangle

public class Shape
extends java.lang.Object

Represents a generic shape.


Constructor Summary
Shape()
          Initializes a new instance of the Shape class.
 
Method Summary
 GraphInfo getGraphInfo()
          Gets a GraphInfo object that indicates the graph info,such as color, line width,etc.
 java.lang.String getID()
          Gets a string that indicates the ID of the shape.
 void setGraphInfo(GraphInfo graphInfo)
          Sets a GraphInfo object that indicates the graph info,such as color, line width,etc.
 void setID(java.lang.String id)
          Sets a string that indicates the ID of the shape.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shape

public Shape()
Initializes a new instance of the Shape class.

Method Detail

getGraphInfo

public GraphInfo getGraphInfo()
Gets a GraphInfo object that indicates the graph info,such as color, line width,etc.

Returns:
Returns the graphInfo.

setGraphInfo

public void setGraphInfo(GraphInfo graphInfo)
Sets a GraphInfo object that indicates the graph info,such as color, line width,etc.

Parameters:
graphInfo - The graphInfo to set.

getID

public java.lang.String getID()
Gets a string that indicates the ID of the shape.

Returns:
Returns the ID.

setID

public void setID(java.lang.String id)
Sets a string that indicates the ID of the shape.

Parameters:
id - The ID to set.