Class XYCircle


  • public final class XYCircle
    extends XYGeometry
    Represents a circle on the XY plane.

    NOTES:

    1. X/Y precision is float.
    2. Radius precision is float.
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Constructor Detail

      • XYCircle

        public XYCircle​(float x,
                        float y,
                        float radius)
        Creates a new circle from the supplied x/y center and radius.
    • Method Detail

      • getX

        public float getX()
        Returns the center's x
      • getY

        public float getY()
        Returns the center's y
      • getRadius

        public float getRadius()
        Returns the radius
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object