Interface ReadOnlyRectangle2

All Known Implementing Classes:
Rectangle2

public interface ReadOnlyRectangle2
  • Method Details

    • getX

      int getX()
      Returns:
      the x coordinate of the origin of this rectangle.
    • getY

      int getY()
      Returns:
      the y coordinate of the origin of this rectangle.
    • getWidth

      int getWidth()
      Returns:
      the width of this rectangle.
    • getHeight

      int getHeight()
      Returns:
      the height of this rectangle.
    • clone

      Rectangle2 clone()
      Returns:
      a new instance of Rectangle2 with the same value as this object.