Interface Rectangle.RectangleBuilder<B extends Rectangle.RectangleBuilder<B>>

    • Method Detail

      • withRectangle

        B withRectangle​(int aPositionX,
                        int aPositionY,
                        int aWidth,
                        int aHeight)
        With 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.
        Returns:
        The invoked instance as of the builder pattern.
      • withRectangle

        B withRectangle​(Rectangle aRectangle)
        With rectangle.
        Parameters:
        aRectangle - The rectangle's metrics to set.
        Returns:
        The invoked instance as of the builder pattern.