GraphInfo
Inheritance: java.lang.Object, com.aspose.pdf.GraphInfo
All Implemented Interfaces: com.aspose.ms.System.ICloneable
public final class GraphInfo extends Object implements com.aspose.ms.System.ICloneable
Represents graphics info.
Constructors
| Constructor | Description |
|---|---|
| GraphInfo |
Methods
| Method | Description |
|---|---|
| deepClone | Clone the graphics info. |
| getColor | Gets a {@code Color} object that indicates the color of the graph. |
| getDashArray | Gets a dash array. |
| getDashPhase | Gets a dash phase. |
| getFillColor | Gets a {@code Color} object that indicates the fill color of the graph. |
| getLineWidth | Gets a float value that indicates the line width of the graph. |
| getRotationAngle | Gets a float value that indicates the rotation angle of the coordinate system when transforming a coordinate system. |
| getScalingRateX | Gets a float value that indicates the scaling rate of the x-coordinate when transforming a coordinate system. |
| getScalingRateY | Gets a float value that indicates the scaling rate of the y-coordinate when transforming a coordinate system. |
| getSkewAngleX | Gets a float value that indicates the skew angle of the x-coordinate when transforming a coordinate system. |
| getSkewAngleY | Gets a float value that indicates the skew angle of the y-coordinate when transforming a coordinate system. |
| getX | Retrieve the X coordinate of a vertical border when using TableAbsorber, and return “-1” for a horizontal border. |
| getY | Retrieve the Y coordinate of a horizontal border when using TableAbsorber, and return “-1” for a vertical border. |
| isDoubled | Gets is border doubled. |
| setColor | Sets a {@code Color} object that indicates the color of the graph. |
| setDashArray | Sets a dash array. |
| setDashPhase | Sets a dash phase. |
| setDoubled | Sets is border doubled. |
| setFillColor | Sets a {@code Color} object that indicates the fill color of the graph. |
| setLineWidth | Sets a float value that indicates the line width of the graph. |
| setRotationAngle | Sets a float value that indicates the rotation angle of the coordinate system when transforming a coordinate system. |
| setScalingRateX | Sets a float value that indicates the scaling rate of the x-coordinate when transforming a coordinate system. |
| setScalingRateY | Sets a float value that indicates the scaling rate of the y-coordinate when transforming a coordinate system. |
| setSkewAngleX | Sets a float value that indicates the skew angle of the x-coordinate when transforming a coordinate system. |
| setSkewAngleY | Sets a float value that indicates the skew angle of the y-coordinate when transforming a coordinate system. |
GraphInfo
public GraphInfo()
deepClone
public Object deepClone()
Clone the graphics info.
Returns: The cloned object
getColor
public Color getColor()
Gets a {@code Color} object that indicates the color of the graph.
Returns: object that indicates the color
getDashArray
public int[] getDashArray()
Gets a dash array.
Returns: dash array
getDashPhase
public int getDashPhase()
Gets a dash phase.
Returns: dash phase.
getFillColor
public Color getFillColor()
Gets a {@code Color} object that indicates the fill color of the graph.
Returns: object that indicates the fill color
getLineWidth
public float getLineWidth()
Gets a float value that indicates the line width of the graph.
Returns: value that indicates the line width.
getRotationAngle
public double getRotationAngle()
Gets a float value that indicates the rotation angle of the coordinate system when transforming a coordinate system.
Returns: double value
getScalingRateX
public double getScalingRateX()
Gets a float value that indicates the scaling rate of the x-coordinate when transforming a coordinate system.
Returns: double value
getScalingRateY
public double getScalingRateY()
Gets a float value that indicates the scaling rate of the y-coordinate when transforming a coordinate system.
Returns: double value
getSkewAngleX
public double getSkewAngleX()
Gets a float value that indicates the skew angle of the x-coordinate when transforming a coordinate system.
Returns: double value
getSkewAngleY
public double getSkewAngleY()
Gets a float value that indicates the skew angle of the y-coordinate when transforming a coordinate system.
Returns: double value
getX
public final double getX()
Retrieve the X coordinate of a vertical border when using TableAbsorber, and return “-1” for a horizontal border.
Returns: double value
getY
public final double getY()
Retrieve the Y coordinate of a horizontal border when using TableAbsorber, and return “-1” for a vertical border.
Returns: double value
isDoubled
public boolean isDoubled()
Gets is border doubled.
Returns: boolean value
setColor
Sets a {@code Color} object that indicates the color of the graph.
setDashArray
public void setDashArray(int[] value)
Sets a dash array.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | dash array |
setDashPhase
public void setDashPhase(int value)
Sets a dash phase.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | dash phase. |
setDoubled
public void setDoubled(boolean value)
Sets is border doubled.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean value |
setFillColor
Sets a {@code Color} object that indicates the fill color of the graph.
setLineWidth
public void setLineWidth(float value)
Sets a float value that indicates the line width of the graph.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | value that indicates the line width. |
setRotationAngle
public void setRotationAngle(double value)
Sets a float value that indicates the rotation angle of the coordinate system when transforming a coordinate system.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double value |
setScalingRateX
public void setScalingRateX(double value)
Sets a float value that indicates the scaling rate of the x-coordinate when transforming a coordinate system.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double value |
setScalingRateY
public void setScalingRateY(double value)
Sets a float value that indicates the scaling rate of the y-coordinate when transforming a coordinate system.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double value |
setSkewAngleX
public void setSkewAngleX(double value)
Sets a float value that indicates the skew angle of the x-coordinate when transforming a coordinate system.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double value |
setSkewAngleY
public void setSkewAngleY(double value)
Sets a float value that indicates the skew angle of the y-coordinate when transforming a coordinate system.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double value |