Arc
Inheritance: java.lang.Object, com.aspose.pdf.drawing.Shape
public final class Arc extends Shape
Represents arc.
Constructors
| Constructor | 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. |
Methods
| Method | Description |
|---|---|
| getPosX() | Gets float value that indicates the x-coordinate of the center of the arc. |
| setPosX(double value) | Sets float value that indicates the x-coordinate of the center of the arc. |
| getPosY() | Gets float value that indicates the y-coordinate of the center of the arc. |
| setPosY(double value) | Sets float value that indicates the y-coordinate of the center of the arc. |
| getRadius() | Gets float value that indicates the radius of the arc. |
| setRadius(double value) | Sets float value that indicates the radius of the arc. |
| getAlpha() | Gets float value that indicates the beginning angle degree of the arc. |
| setAlpha(double value) | Sets float value that indicates the beginning angle degree of the arc. |
| getBeta() | Gets float value that indicates the ending angle degree of the arc. |
| setBeta(double value) | Sets float value that indicates the ending angle degree of the arc. |
Arc()
public Arc()
For Internal usage only
Arc(double posX, double posY, double radius, double alpha, double beta)
public Arc(double posX, double posY, double radius, double alpha, double beta)
Initializes a new instance of the Arc class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| posX | double | The x-coordinate of the center point of the arc. |
| posY | double | The y-coordinate of the center point of the arc. |
| radius | double | The radius value of the arc. |
| alpha | double | The beginning angle value of the arc. |
| beta | double | The end angle value of the arc. |
getPosX()
public double getPosX()
Gets float value that indicates the x-coordinate of the center of the arc.
Returns: double - x-coordinate of the center of the arc.
setPosX(double value)
public void setPosX(double value)
Sets float value that indicates the x-coordinate of the center of the arc.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | x-coordinate of the center of the arc. |
getPosY()
public double getPosY()
Gets float value that indicates the y-coordinate of the center of the arc.
Returns: double - y-coordinate of the center of the arc.
setPosY(double value)
public void setPosY(double value)
Sets float value that indicates the y-coordinate of the center of the arc.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | y-coordinate of the center of the arc. |
getRadius()
public double getRadius()
Gets float value that indicates the radius of the arc.
Returns: double - value that indicates the radius of the arc.
setRadius(double value)
public void setRadius(double value)
Sets float value that indicates the radius of the arc.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | that indicates the radius of the arc. |
getAlpha()
public double getAlpha()
Gets float value that indicates the beginning angle degree of the arc.
Returns: double - alpha value.
setAlpha(double value)
public void setAlpha(double value)
Sets float value that indicates the beginning angle degree of the arc.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | alpha value. |
getBeta()
public double getBeta()
Gets float value that indicates the ending angle degree of the arc.
Returns: double - beta value
setBeta(double value)
public void setBeta(double value)
Sets float value that indicates the ending angle degree of the arc.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | beta value |