@EqualsAndHashCode @CompileStatic class Circle extends Shape
Represents a circle with the radius specified in the unit of the coordinate system
Point
center
double
radius
Circle(Point center, double radius)
List<Object>
asList()
String
toString()
static Circle
valueOf(List<Object> coords)
class Shape
asList
The center of the circle
The radius of the circle
Construct a circle for the given center Point and radius
Construct a circle for the given coordinates
coords
Groovy Documentation