java.lang.Object
org.openpatch.scratch.extensions.shape.Shape
org.openpatch.scratch.extensions.shape.Circle

public class Circle extends Shape
Represents a circle shape defined by its center and radius.
  • 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 center
      y - the y-coordinate of the circle's center
      radius - the radius of the circle