Modifier and Type | Field and Description |
---|---|
double |
centerX |
double |
centerY |
double |
radius
The radius of the
RadCircle . |
Constructor and Description |
---|
RadCircle()
|
RadCircle(double centerX,
double centerY,
double radius) |
RadCircle(RadPoint center,
double radius)
Creates an instance of the
RadCircle class with specified center and radius. |
Modifier and Type | Method and Description |
---|---|
RadPoint |
center() |
RadRect |
getBounds()
Calculates the bounds of the current
RadCircle instance. |
public double centerX
public double centerY
public double radius
RadCircle
.public RadCircle()
public RadCircle(RadPoint center, double radius)
RadCircle
class with specified center and radius.center
- an instance of the RadPoint
class depicting the circle's center.radius
- the radius of the circle.public RadCircle(double centerX, double centerY, double radius)