Interface Rectangle.RectangleProperty

    • Method Detail

      • letRectangle

        default Rectangle letRectangle​(int aPositionX,
                                       int aPositionY,
                                       int aWidth,
                                       int aHeight)
        This method stores and passes through the given arguments, which is very useful for builder APIs: Sets the given Rectangle (setter) as of Rectangle.RectangleMutator.setRectangle(int, int, int, int) and returns the very same value encapsulated as Rectangle instance.
        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.
        Returns:
        Returns the values passed encapsulated in a Rectangle object for it to be used in conclusive processing steps.