Interface Rectangle.RectangleMutator

    • Method Detail

      • setRectangle

        void setRectangle​(int aPositionX,
                          int aPositionY,
                          int aWidth,
                          int aHeight)
        Sets the rectangle.
        Parameters:
        aPositionX - The X position of the rectangle.
        aPositionY - The Y position of the rectangle.
        aWidth - The width of the rectangle.
        aHeight - The height of the rectangle.
      • setRectangle

        void setRectangle​(Rectangle aRectangle)
        Sets the rectangle.
        Parameters:
        aRectangle - the new rectangle's metrics to set.