public final class Arc extends Shape
Represents arc.
Constructor and Description |
---|
Arc()
For Internal usage only
|
Arc(double posX,
double posY,
double radius,
double alpha,
double beta)
Initializes a new instance of the
Arc class. |
Modifier and Type | Method and Description |
---|---|
double |
getAlpha()
Gets float value that indicates the beginning angle degree of the arc.
|
double |
getBeta()
Gets float value that indicates the ending angle degree of the arc.
|
double |
getPosX()
Gets float value that indicates the x-coordinate of the center of the arc.
|
double |
getPosY()
Gets float value that indicates the y-coordinate of the center of the arc.
|
double |
getRadius()
Gets float value that indicates the radius of the arc.
|
void |
setAlpha(double value)
Sets float value that indicates the beginning angle degree of the arc.
|
void |
setBeta(double value)
Sets float value that indicates the ending angle degree of the arc.
|
void |
setPosX(double value)
Sets float value that indicates the x-coordinate of the center of the arc.
|
void |
setPosY(double value)
Sets float value that indicates the y-coordinate of the center of the arc.
|
void |
setRadius(double value)
Sets float value that indicates the radius of the arc.
|
getGraphInfo, getText, setGraphInfo, setText
public Arc()
For Internal usage only
public Arc(double posX, double posY, double radius, double alpha, double beta)
Initializes a new instance of the Arc
class.
posX
- The x-coordinate of the center point of the arc.posY
- The y-coordinate of the center point of the arc.radius
- The radius value of the arc.alpha
- The beginning angle value of the arc.beta
- The end angle value of the arc.public double getPosX()
Gets float value that indicates the x-coordinate of the center of the arc.
public void setPosX(double value)
Sets float value that indicates the x-coordinate of the center of the arc.
value
- x-coordinate of the center of the arc.public double getPosY()
Gets float value that indicates the y-coordinate of the center of the arc.
public void setPosY(double value)
Sets float value that indicates the y-coordinate of the center of the arc.
value
- y-coordinate of the center of the arc.public double getRadius()
Gets float value that indicates the radius of the arc.
public void setRadius(double value)
Sets float value that indicates the radius of the arc.
value
- that indicates the radius of the arc.public double getAlpha()
Gets float value that indicates the beginning angle degree of the arc.
public void setAlpha(double value)
Sets float value that indicates the beginning angle degree of the arc.
value
- alpha value.public double getBeta()
Gets float value that indicates the ending angle degree of the arc.
public void setBeta(double value)
Sets float value that indicates the ending angle degree of the arc.
value
- beta value