aspose.pdf
Class Shape

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

public abstract class Shape
extends java.lang.Object

Represents a generic shape.


Constructor Summary
Shape()
          Constructor with no arguments for Shape class
 
Method Summary
 GraphInfo getGraphInfo()
          Gets a Shape 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 value)
          Sets a Shape object that indicates the graph info, such as color,line width,etc.
 void setID(java.lang.String value)
          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()
Constructor with no arguments for Shape class

Method Detail

getGraphInfo

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


setGraphInfo

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

Parameters:
value - the value of the object to be set

getID

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


setID

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

Parameters:
value - ID to be set