com.aspose.pdf.elements
Class GraphInfo

java.lang.Object
  extended bycom.aspose.pdf.elements.GraphInfo
All Implemented Interfaces:
java.lang.Cloneable

public class GraphInfo
extends java.lang.Object
implements java.lang.Cloneable

Encapsulates info for a Graph paragraph.


Constructor Summary
GraphInfo()
          Initialize a new instance of the GraphInfo class.
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object arg0)
           
 Color getColor()
          Gets a Color object that indicates the color of the graph.
 java.lang.String getLineStyle()
          Gets line stype that indicates the line style of the GraphInfo.
 float getLineWidth()
          Gets a float value that indicates the line width of the graph.
 GraphInfo setColor(Color m_color)
          Sets a Color object that indicates the color of the graph.
 GraphInfo setLineStyle(java.lang.String style)
          Sets line stype that indicates the line style of the GraphInfo.
 GraphInfo setLineWidth(float width)
          Sets a float value that indicates the line width of the graph.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphInfo

public GraphInfo()
Initialize a new instance of the GraphInfo class.

Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException
See Also:
java.lang.Object#clone()

getColor

public Color getColor()
Gets a Color object that indicates the color of the graph.


setColor

public GraphInfo setColor(Color m_color)
Sets a Color object that indicates the color of the graph. Default value is black.


getLineStyle

public java.lang.String getLineStyle()
Gets line stype that indicates the line style of the GraphInfo. Default value is solid.

See Also:
LineStyleType

setLineStyle

public GraphInfo setLineStyle(java.lang.String style)
Sets line stype that indicates the line style of the GraphInfo.

See Also:
LineStyleType

getLineWidth

public float getLineWidth()
Gets a float value that indicates the line width of the graph.


setLineWidth

public GraphInfo setLineWidth(float width)
Sets a float value that indicates the line width of the graph.
The unit is point. Default value is 1 point.


equals

public boolean equals(java.lang.Object arg0)
See Also:
Object.equals(java.lang.Object)