Interface Point

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    PointImpl

    public interface Point
    extends java.io.Serializable

    Interface for points in a coordinate system.

    Interface for points in a coordinate system, currently referenced in the Polygon interface resp. PolygonImpl class only, implemented in PointImpl.
    Depending on the scope of the containing XML document, coordinates are either relative to the spread, page, CometGroup or element.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getX()
      Gets the X coordinate of this point.
      double getY()
      Gets the Y coordinate of this point.
      void setX​(double x)
      Sets the X coordinate of this point.
      void setY​(double y)
      Sets the Y coordinate of this point.
    • Method Detail

      • getX

        double getX()

        Gets the X coordinate of this point.

        Gets the X coordinate of this point.

        Returns:
        X coordinate of this point
      • setX

        void setX​(double x)

        Sets the X coordinate of this point.

        Sets the X coordinate of this point.

        Parameters:
        x - the X coordinate of this point
      • getY

        double getY()

        Gets the Y coordinate of this point.

        Gets the Y coordinate of this point.

        Returns:
        the Y coordinate of this point
      • setY

        void setY​(double y)

        Sets the Y coordinate of this point.

        Sets the Y coordinate of this point.

        Parameters:
        y - the Y coordinate of this point