Circle
Inheritance: java.lang.Object, com.aspose.pdf.drawing.Shape
public final class Circle extends Shape
Represents circle.
Constructors
Constructor | Description |
---|---|
Circle() | For Internal usage only |
Circle(float posX, float posY, float radius) | Initializes a new instance of the Circle 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 circle. |
setRadius(double value) | Sets float value that indicates the radius of the circle. |
Circle()
public Circle()
For Internal usage only
Circle(float posX, float posY, float radius)
public Circle(float posX, float posY, float radius)
Initializes a new instance of the Circle class.
Parameters:
Parameter | Type | Description |
---|---|---|
posX | float | The x-coordinate of the center of the circle. |
posY | float | The y-coordinate of the center of the circle. |
radius | float | The radius of the circle. |
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 circle.
Returns: double - value that indicates the radius of the circle.
setRadius(double value)
public void setRadius(double value)
Sets float value that indicates the radius of the circle.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | that indicates the radius of the circle. |