CmxEllipseSpec

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.imaging.fileformats.cmx.objectmodel.specs.ICmxObjectSpec

public class CmxEllipseSpec implements ICmxObjectSpec

Represents geometric info specified for an ellipse.

Constructors

ConstructorDescription
CmxEllipseSpec()

Methods

MethodDescription
getAngle1()Gets the first angle used for defining of pie sector.
setAngle1(float value)Sets the first angle used for defining of pie sector.
getAngle2()Gets the second angle used for defining of pie sector.
setAngle2(float value)Sets the second angle used for defining of pie sector.
getRotation()Gets the angle of rotation of the ellipse.
setRotation(float value)Sets the angle of rotation of the ellipse.
getPie()Gets a value indicating whether this CmxEllipseSpec is a pie.
setPie(boolean value)Sets a value indicating whether this CmxEllipseSpec is a pie.
getCenterX()Gets the X coordinate for the center of the rectangle.
setCenterX(float value)Sets the X coordinate for the center of the rectangle.
getCenterY()Gets the Y coordinate for the center of the rectangle.
setCenterY(float value)Sets the Y coordinate for the center of the rectangle.
getDiameterX()Gets the diameter for X dimension of the rectangle.
setDiameterX(float value)Sets the diameter for X dimension of the rectangle.
getDiameterY()Gets the diameter for Y dimension of the rectangle.
setDiameterY(float value)Sets the diameter for Y dimension of the rectangle.
getBoundingBox()Gets the bounding box.
setBoundingBox(RectangleF value)Sets the bounding box.
toString()Returns a String that represents this instance.
equals(Object o)Check if objects are equal.
hashCode()Get hash code of the current object.

CmxEllipseSpec()

public CmxEllipseSpec()

getAngle1()

public final float getAngle1()

Gets the first angle used for defining of pie sector. Does no affect if Pie(.getPie/.setPie(boolean)) is false. Measures in radians.

Returns: float - the first angle used for defining of pie sector.

setAngle1(float value)

public final void setAngle1(float value)

Sets the first angle used for defining of pie sector. Does no affect if Pie(.getPie/.setPie(boolean)) is false. Measures in radians.

Parameters:

ParameterTypeDescription
valuefloatthe first angle used for defining of pie sector.

getAngle2()

public final float getAngle2()

Gets the second angle used for defining of pie sector. Does no affect if Pie(.getPie/.setPie(boolean)) is false. Measures in radians.

Returns: float - the second angle used for defining of pie sector.

setAngle2(float value)

public final void setAngle2(float value)

Sets the second angle used for defining of pie sector. Does no affect if Pie(.getPie/.setPie(boolean)) is false. Measures in radians.

Parameters:

ParameterTypeDescription
valuefloatthe second angle used for defining of pie sector.

getRotation()

public final float getRotation()

Gets the angle of rotation of the ellipse. Measures in radians.

Returns: float - the angle of rotation of the ellipse.

setRotation(float value)

public final void setRotation(float value)

Sets the angle of rotation of the ellipse. Measures in radians.

Parameters:

ParameterTypeDescription
valuefloatthe angle of rotation of the ellipse.

getPie()

public final boolean getPie()

Gets a value indicating whether this CmxEllipseSpec is a pie.

Returns: boolean - a value indicating whether this CmxEllipseSpec is a pie.

setPie(boolean value)

public final void setPie(boolean value)

Sets a value indicating whether this CmxEllipseSpec is a pie.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether this CmxEllipseSpec is a pie.

getCenterX()

public final float getCenterX()

Gets the X coordinate for the center of the rectangle. Measures in common document distance units.

Returns: float - the X coordinate for the center of the rectangle.

setCenterX(float value)

public final void setCenterX(float value)

Sets the X coordinate for the center of the rectangle. Measures in common document distance units.

Parameters:

ParameterTypeDescription
valuefloatthe X coordinate for the center of the rectangle.

getCenterY()

public final float getCenterY()

Gets the Y coordinate for the center of the rectangle. Measures in common document distance units.

Returns: float - the Y coordinate for the center of the rectangle.

setCenterY(float value)

public final void setCenterY(float value)

Sets the Y coordinate for the center of the rectangle. Measures in common document distance units.

Parameters:

ParameterTypeDescription
valuefloatthe Y coordinate for the center of the rectangle.

getDiameterX()

public final float getDiameterX()

Gets the diameter for X dimension of the rectangle. Measures in common document distance units.

Returns: float - the diameter for X dimension of the rectangle.

setDiameterX(float value)

public final void setDiameterX(float value)

Sets the diameter for X dimension of the rectangle. Measures in common document distance units.

Parameters:

ParameterTypeDescription
valuefloatthe diameter for X dimension of the rectangle.

getDiameterY()

public final float getDiameterY()

Gets the diameter for Y dimension of the rectangle. Measures in common document distance units.

Returns: float - the diameter for Y dimension of the rectangle.

setDiameterY(float value)

public final void setDiameterY(float value)

Sets the diameter for Y dimension of the rectangle. Measures in common document distance units.

Parameters:

ParameterTypeDescription
valuefloatthe diameter for Y dimension of the rectangle.

getBoundingBox()

public final RectangleF getBoundingBox()

Gets the bounding box.

Value: The bounding box.

Returns: RectangleF - the bounding box.

setBoundingBox(RectangleF value)

public final void setBoundingBox(RectangleF value)

Sets the bounding box.

Value: The bounding box.

Parameters:

ParameterTypeDescription
valueRectangleFthe bounding box.

toString()

public String toString()

Returns a String that represents this instance.

Returns: java.lang.String - A String that represents this instance.

equals(Object o)

public boolean equals(Object o)

Check if objects are equal.

Parameters:

ParameterTypeDescription
ojava.lang.ObjectThe other object.

Returns: boolean - The equality comparison result.

hashCode()

public int hashCode()

Get hash code of the current object.

Returns: int - The hash code.