Class Ellipse

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

public final class Ellipse extends Marker
Ellipse marker
  • Method Details

    • center

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

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

      public double radiusX()
      Get the radiusX of this ellipse
      Returns:
      radiusX
    • radiusX

      public void radiusX(double radius)
      Set the radiusX of this ellipse
      Parameters:
      radius - new radiusX
    • radiusZ

      public double radiusZ()
      Get the radiusZ of this ellipse
      Returns:
      radiusZ
    • radiusZ

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object