Class Center


  • public final class Center
    extends Object
    Contains the coordinates of a center of arc.
    Used inside the canvas object factory.
    Author:
    Andrea "Stock" Stocchero
    See Also:
    CanvasObjectFactory
    • Constructor Detail

      • Center

        public Center()
    • Method Detail

      • getX

        public double getX()
        Returns the X coordinate.
        Returns:
        the X coordinate
      • setX

        public void setX​(double x)
        Sets the X coordinate.
        Parameters:
        x - the X coordinate to set
      • getY

        public double getY()
        Returns the Y coordinate.
        Returns:
        the Y coordinate
      • setY

        public void setY​(double y)
        Sets the Y coordinate.
        Parameters:
        y - the Y coordinate to set