Interface Point

All Superinterfaces:
Serializable
All Known Implementing Classes:
PointImpl

public interface Point extends 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

    Modifier and Type
    Method
    Description
    double
    Gets the X coordinate of this point.
    double
    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 Details

    • 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