Class Circle
java.lang.Object
org.openpatch.scratch.extensions.shape.Shape
org.openpatch.scratch.extensions.shape.Circle
Represents a circle shape defined by its center and radius.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCircle
(double x, double y, double radius) Creates a circle with no specified position or size. -
Method Summary
-
Constructor Details
-
Circle
public Circle(double x, double y, double radius) Creates a circle with no specified position or size.- Parameters:
x
- the x-coordinate of the circle's centery
- the y-coordinate of the circle's centerradius
- the radius of the circle
-