src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java
private void setRect(int x, int y, int width, int height) {
        if (this.rect == null) {
            this.rect = new Rectangle2D.Double(x, y, width, height);
        } else {
            this.rect.setRect(x, y, width, height);
        }
    }
private void setRect(int x, int y, int width, int height) {
        if (this.rect == null) {
            this.rect = new Rectangle2D.Double(x, y, width, height);
        } else {
            this.rect.setRect(x, y, width, height);
        }
    }
Sets the attributes of the reusable {@link Rectangle2D} object that is
used by the {@link SVGGraphics2D#drawRect(int, int, int, int)} and
{@link SVGGraphics2D#fillRect(int, int, int, int)} methods.

@param x  the x-coordinate.
@param y  the y-coordinate.
@param width  the width.
@param height  the height.