public class CmxEllipseSpec extends Object implements ICmxObjectSpec
Represents geometric info specified for an ellipse.
Constructor and Description |
---|
CmxEllipseSpec() |
Modifier and Type | Method and Description |
---|---|
float |
getAngle1()
Gets the first angle used for defining of pie sector.
|
float |
getAngle2()
Gets the second angle used for defining of pie sector.
|
float |
getCenterX()
Gets the X coordinate for the center of the rectangle.
|
float |
getCenterY()
Gets the Y coordinate for the center of the rectangle.
|
float |
getDiameterX()
Gets the diameter for X dimension of the rectangle.
|
float |
getDiameterY()
Gets the diameter for Y dimension of the rectangle.
|
boolean |
getPie()
Gets a value indicating whether this
CmxEllipseSpec is a pie. |
float |
getRotation()
Gets the angle of rotation of the ellipse.
|
void |
setAngle1(float value)
Sets the first angle used for defining of pie sector.
|
void |
setAngle2(float value)
Sets the second angle used for defining of pie sector.
|
void |
setCenterX(float value)
Sets the X coordinate for the center of the rectangle.
|
void |
setCenterY(float value)
Sets the Y coordinate for the center of the rectangle.
|
void |
setDiameterX(float value)
Sets the diameter for X dimension of the rectangle.
|
void |
setDiameterY(float value)
Sets the diameter for Y dimension of the rectangle.
|
void |
setPie(boolean value)
Sets a value indicating whether this
CmxEllipseSpec is a pie. |
void |
setRotation(float value)
Sets the angle of rotation of the ellipse.
|
String |
toString()
Returns a
String that represents this instance. |
public final float getAngle1()
Gets the first angle used for defining of pie sector.
Does no affect if Pie
(CmxEllipseSpec.getPie()
/CmxEllipseSpec.setPie(boolean)
) is false
.
Measures in radians.
public final void setAngle1(float value)
Sets the first angle used for defining of pie sector.
Does no affect if Pie
(CmxEllipseSpec.getPie()
/CmxEllipseSpec.setPie(boolean)
) is false
.
Measures in radians.
value
- the first angle used for defining of pie sector.public final float getAngle2()
Gets the second angle used for defining of pie sector.
Does no affect if Pie
(CmxEllipseSpec.getPie()
/CmxEllipseSpec.setPie(boolean)
) is false
.
Measures in radians.
public final void setAngle2(float value)
Sets the second angle used for defining of pie sector.
Does no affect if Pie
(CmxEllipseSpec.getPie()
/CmxEllipseSpec.setPie(boolean)
) is false
.
Measures in radians.
value
- the second angle used for defining of pie sector.public final float getRotation()
Gets the angle of rotation of the ellipse. Measures in radians.
public final void setRotation(float value)
Sets the angle of rotation of the ellipse. Measures in radians.
value
- the angle of rotation of the ellipse.public final boolean getPie()
Gets a value indicating whether this CmxEllipseSpec
is a pie.
CmxEllipseSpec
is a pie.public final void setPie(boolean value)
Sets a value indicating whether this CmxEllipseSpec
is a pie.
value
- a value indicating whether this CmxEllipseSpec
is a pie.public final float getCenterX()
Gets the X coordinate for the center of the rectangle. Measures in common document distance units.
public final void setCenterX(float value)
Sets the X coordinate for the center of the rectangle. Measures in common document distance units.
value
- the X coordinate for the center of the rectangle.public final float getCenterY()
Gets the Y coordinate for the center of the rectangle. Measures in common document distance units.
public final void setCenterY(float value)
Sets the Y coordinate for the center of the rectangle. Measures in common document distance units.
value
- the Y coordinate for the center of the rectangle.public final float getDiameterX()
Gets the diameter for X dimension of the rectangle. Measures in common document distance units.
public final void setDiameterX(float value)
Sets the diameter for X dimension of the rectangle. Measures in common document distance units.
value
- the diameter for X dimension of the rectangle.public final float getDiameterY()
Gets the diameter for Y dimension of the rectangle. Measures in common document distance units.
public final void setDiameterY(float value)
Sets the diameter for Y dimension of the rectangle. Measures in common document distance units.
value
- the diameter for Y dimension of the rectangle.