Class AbstractPoint

    • Constructor Detail

      • AbstractPoint

        protected AbstractPoint()
        Creates an empty object.
      • AbstractPoint

        protected AbstractPoint​(double x)
        Creates an object with X coordinate of the point
        Parameters:
        x - the X coordinate of the point
      • AbstractPoint

        protected AbstractPoint​(double x,
                                double y)
        Creates an object with X and Y coordinates of the point
        Parameters:
        x - the X coordinate of the point
        y - the Y coordinate of the point
      • AbstractPoint

        protected AbstractPoint​(NativeObject nativeObject)
        Creates the object with native object instance to be wrapped.
        Parameters:
        nativeObject - native object instance to be wrapped.
    • Method Detail

      • setX

        public final void setX​(double x)
        Sets the X coordinate of the point.
        Parameters:
        x - the X coordinate of the point.
      • setY

        public final void setY​(double y)
        Sets the Y coordinate of the point.
        Parameters:
        y - the Y coordinate of the point.