Interface RectangleWrapper<R,​P>

    • Method Detail

      • getRectangle

        R getRectangle()
        Returns:
        Wrapped Rectangle
      • setRectangle

        void setRectangle​(R rectangle)
        Parameters:
        rectangle - The Rectangle to wrap
      • getTopLeftPoint

        Point2Wrapper<P> getTopLeftPoint()
        Returns:
        The top left corner point of the rectangle
      • getBottomRightPoint

        Point2Wrapper<P> getBottomRightPoint()
        Returns:
        The bottom right corner point of the rectangle
      • getCenterPoint

        Point2Wrapper<P> getCenterPoint()
        Returns:
        The center corner point of the rectangle
      • getWidth

        double getWidth()
        Returns:
        The width of the rectangle
      • getHeight

        double getHeight()
        Returns:
        The height of the rectangle