Class Circle

java.lang.Object
xyz.jpenilla.squaremap.api.marker.Marker
xyz.jpenilla.squaremap.api.marker.Circle

public final class Circle extends Marker
Circle marker
  • Method Details

    • center

      public @NonNull Point center()
      Get the center point of this circle
      Returns:
      center point
    • center

      public void center(@NonNull Point center)
      Set a new center point for this circle
      Parameters:
      center - new center
    • radius

      public double radius()
      Get the radius of this circle
      Returns:
      radius
    • radius

      public void radius(double radius)
      Set the radius of this circle
      Parameters:
      radius - new radius
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object