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

ConstructorDescription
GraphInfo

Methods

MethodDescription
deepCloneClone the graphics info.
getColorGets a {@code Color} object that indicates the color of the graph.
getDashArrayGets a dash array.
getDashPhaseGets a dash phase.
getFillColorGets a {@code Color} object that indicates the fill color of the graph.
getLineWidthGets a float value that indicates the line width of the graph.
getRotationAngleGets a float value that indicates the rotation angle of the coordinate system when transforming a coordinate system.
getScalingRateXGets a float value that indicates the scaling rate of the x-coordinate when transforming a coordinate system.
getScalingRateYGets a float value that indicates the scaling rate of the y-coordinate when transforming a coordinate system.
getSkewAngleXGets a float value that indicates the skew angle of the x-coordinate when transforming a coordinate system.
getSkewAngleYGets a float value that indicates the skew angle of the y-coordinate when transforming a coordinate system.
getXRetrieve the X coordinate of a vertical border when using TableAbsorber, and return “-1” for a horizontal border.
getYRetrieve the Y coordinate of a horizontal border when using TableAbsorber, and return “-1” for a vertical border.
isDoubledGets is border doubled.
setColorSets a {@code Color} object that indicates the color of the graph.
setDashArraySets a dash array.
setDashPhaseSets a dash phase.
setDoubledSets is border doubled.
setFillColorSets a {@code Color} object that indicates the fill color of the graph.
setLineWidthSets a float value that indicates the line width of the graph.
setRotationAngleSets a float value that indicates the rotation angle of the coordinate system when transforming a coordinate system.
setScalingRateXSets a float value that indicates the scaling rate of the x-coordinate when transforming a coordinate system.
setScalingRateYSets a float value that indicates the scaling rate of the y-coordinate when transforming a coordinate system.
setSkewAngleXSets a float value that indicates the skew angle of the x-coordinate when transforming a coordinate system.
setSkewAngleYSets 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:

ParameterTypeDescription
valuedash array

setDashPhase

public void setDashPhase(int value)

Sets a dash phase.

Parameters:

ParameterTypeDescription
valuedash phase.

setDoubled

public void setDoubled(boolean value)

Sets is border doubled.

Parameters:

ParameterTypeDescription
valueboolean 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:

ParameterTypeDescription
valuevalue 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:

ParameterTypeDescription
valuedouble 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:

ParameterTypeDescription
valuedouble 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:

ParameterTypeDescription
valuedouble 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:

ParameterTypeDescription
valuedouble 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:

ParameterTypeDescription
valuedouble value