com.aspose.pdf.elements
Class GraphInfo

java.lang.Object
  extended by com.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.
GraphInfo(float lineWidth)
          Initialize a new instance of the GraphInfo class with the specific line width
 
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.
 float getDashLengthInBlack()
          Gets a float value that indicates the dash length in black.The unit is point.
 float getDashLengthInWhite()
          Gets a float value that indicates the dash length in white.The unit is point.
 Color getFillColor()
          Gets a Color object that indicates the fill color of the graph.
 java.lang.String getFillRule()
          Gets a Color object that indicates the fill color of the graph.
 int getFlatness()
          Gets an positive int value that indicates the flatness.
 boolean getIsFilled()
          Gets a bool value that indicates whether this shape is filled.
 int getLineCapMode()
          Gets an int value between 0 and 2 that indicates the line cap mode.
 int getLineJoinMode()
          Gets an int value between 0 and 2 that indicates the line join mode.
 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.
 float getRotationAngle()
          Gets a float value that indicates the rotation angle of the coordinate system when transforming a coordinate system.
 float getScalingRateX()
          Gets a float value that indicates the scaling rate of the x-coordinate when transforming a coordinate system.
 float getScalingRateY()
          Gets a float value that indicates the scaling rate of the y-coordinate when transforming a coordinate system.
 float getSkewAngleX()
          Gets a float value that indicates the skew angle of the x-coordinate when transforming a coordinate system.
 float getSkewAngleY()
          Gets a float value that indicates the skew angle of the y-coordinate when transforming a coordinate system.
 GraphInfo setColor(Color m_color)
          Sets a Color object that indicates the color of the graph.
 GraphInfo setDashLengthInBlack(float dashLengthInBlack)
          Sets a float value that indicates the dash length in black.The unit is point.
 GraphInfo setDashLengthInWhite(float dashLengthInWhite)
          Sets a float value that indicates the dash length in white.The unit is point.
 GraphInfo setFillColor(Color fillColor)
          Sets a Color object that indicates the fill color of the graph.
 GraphInfo setFillRule(java.lang.String fillRule)
          Sets a string that indicates the graph fill rule.It can be "winding" or "evenodd".
 GraphInfo setFlatness(int flatness)
          Sets an positive int value that indicates the flatness.
 void setIsFilled(boolean isFilled)
          Sets a bool value that indicates whether this shape is filled.
 GraphInfo setLineCapMode(int lineCapMode)
          Sets an int value between 0 and 2 that indicates the line cap mode.
 GraphInfo setLineJoinMode(int lineJoinMode)
          Sets an int value between 0 and 2 that indicates the line join mode.
 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.
 GraphInfo setRotationAngle(float rotationAngle)
          Sets a float value that indicates the rotation angle of the coordinate system when transforming a coordinate system.
 GraphInfo setScalingRateX(float scalingRateX)
          Sets a float value that indicates the scaling rate of the x-coordinate when transforming a coordinate system.
 GraphInfo setScalingRateY(float scalingRateY)
          Sets a float value that indicates the scaling rate of the y-coordinate when transforming a coordinate system.
 GraphInfo setSkewAngleX(float skewAngleX)
          Sets a float value that indicates the skew angle of the x-coordinate when transforming a coordinate system.
 GraphInfo setSkewAngleY(float skewAngleY)
          Sets a float value that indicates the skew angle of the y-coordinate when transforming a coordinate system.
 
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.


GraphInfo

public GraphInfo(float lineWidth)
Initialize a new instance of the GraphInfo class with the specific line width

Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException
See Also:
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)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

setIsFilled

public void setIsFilled(boolean isFilled)
Sets a bool value that indicates whether this shape is filled.

Parameters:
isFilled - true for filled; otherwise set to false.

getIsFilled

public boolean getIsFilled()
Gets a bool value that indicates whether this shape is filled.


setFillColor

public GraphInfo setFillColor(Color fillColor)
Sets a Color object that indicates the fill color of the graph. Default value is white.


getFillColor

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


setFillRule

public GraphInfo setFillRule(java.lang.String fillRule)
Sets a string that indicates the graph fill rule.It can be "winding" or "evenodd". Refer to the programmer's guide for more info(the same with .net version).


getFillRule

public java.lang.String getFillRule()
Gets a Color object that indicates the fill color of the graph.


setLineCapMode

public GraphInfo setLineCapMode(int lineCapMode)
Sets an int value between 0 and 2 that indicates the line cap mode. Refer to the programmer's guide for more info(the same with .net version).


getLineCapMode

public int getLineCapMode()
Gets an int value between 0 and 2 that indicates the line cap mode. Refer to the programmer's guide for more info(the same with .net version).


setLineJoinMode

public GraphInfo setLineJoinMode(int lineJoinMode)
Sets an int value between 0 and 2 that indicates the line join mode. Refer to the programmer's guide for more info(the same with .net version).


getLineJoinMode

public int getLineJoinMode()
Gets an int value between 0 and 2 that indicates the line join mode. Refer to the programmer's guide for more info(the same with .net version).


setDashLengthInBlack

public GraphInfo setDashLengthInBlack(float dashLengthInBlack)
Sets a float value that indicates the dash length in black.The unit is point. Refer to the programmer's guide for more info(the same with .net version).


getDashLengthInBlack

public float getDashLengthInBlack()
Gets a float value that indicates the dash length in black.The unit is point. Refer to the programmer's guide for more info(the same with .net version).


setDashLengthInWhite

public GraphInfo setDashLengthInWhite(float dashLengthInWhite)
Sets a float value that indicates the dash length in white.The unit is point. Refer to the programmer's guide for more info.(the same with .net version).


getDashLengthInWhite

public float getDashLengthInWhite()
Gets a float value that indicates the dash length in white.The unit is point. Refer to the programmer's guide for more info(the same with .net version).


setRotationAngle

public GraphInfo setRotationAngle(float rotationAngle)
Sets a float value that indicates the rotation angle of the coordinate system when transforming a coordinate system.


getRotationAngle

public float getRotationAngle()
Gets a float value that indicates the rotation angle of the coordinate system when transforming a coordinate system.


setScalingRateX

public GraphInfo setScalingRateX(float scalingRateX)
Sets a float value that indicates the scaling rate of the x-coordinate when transforming a coordinate system.


getScalingRateX

public float getScalingRateX()
Gets a float value that indicates the scaling rate of the x-coordinate when transforming a coordinate system.


setScalingRateY

public GraphInfo setScalingRateY(float scalingRateY)
Sets a float value that indicates the scaling rate of the y-coordinate when transforming a coordinate system.


getScalingRateY

public float getScalingRateY()
Gets a float value that indicates the scaling rate of the y-coordinate when transforming a coordinate system.


setSkewAngleX

public GraphInfo setSkewAngleX(float skewAngleX)
Sets a float value that indicates the skew angle of the x-coordinate when transforming a coordinate system.


getSkewAngleX

public float getSkewAngleX()
Gets a float value that indicates the skew angle of the x-coordinate when transforming a coordinate system.


setSkewAngleY

public GraphInfo setSkewAngleY(float skewAngleY)
Sets a float value that indicates the skew angle of the y-coordinate when transforming a coordinate system.


getSkewAngleY

public float getSkewAngleY()
Gets a float value that indicates the skew angle of the y-coordinate when transforming a coordinate system.


setFlatness

public GraphInfo setFlatness(int flatness)
Sets an positive int value that indicates the flatness. Refer to the programmer's guide for more info(the same with .net).


getFlatness

public int getFlatness()
Gets an positive int value that indicates the flatness. Refer to the programmer's guide for more info(the same with .net).