public final class Circle extends Shape
Represents circle.
Constructor and Description |
---|
Circle()
For Internal usage only
|
Circle(float posX,
float posY,
float radius)
Initializes a new instance of the
Circle class. |
Modifier and Type | Method and Description |
---|---|
boolean |
checkBounds(double containerWidth,
double containerHeight)
Checks if the item fits within the given container dimensions (inclusive).
|
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 circle.
|
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 circle.
|
getGraphInfo, getText, setGraphInfo, setText
public Circle()
For Internal usage only
public Circle(float posX, float posY, float radius)
Initializes a new instance of the Circle
class.
posX
- The x-coordinate of the center of the circle.posY
- The y-coordinate of the center of the circle.radius
- The radius of the circle.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 circle.
public void setRadius(double value)
Sets float value that indicates the radius of the circle.
value
- that indicates the radius of the circle.public boolean checkBounds(double containerWidth, double containerHeight)
IBoundsCheckableItem
Checks if the item fits within the given container dimensions (inclusive).
checkBounds
in interface IBoundsCheckableItem
checkBounds
in class Shape
containerWidth
- Width of the container.containerHeight
- Height of the container.Copyright © 2025 Aspose. All Rights Reserved.