@Override
    public void fillRect(int x, int y, int width, int height) {
        setRect(x, y, width, height);
        fill(this.rect);
    }
@Override
    public void fillRect(int x, int y, int width, int height) {
        setRect(x, y, width, height);
        fill(this.rect);
    }
@ Override public void fillRect ( int x , int y , int width , int height ) { setRect ( x , y , width , height ) ; fill ( this . rect ) ; }
Fills the specified rectangle with the current {@code paint}.

@param x  the x-coordinate.
@param y  the y-coordinate.
@param width  the rectangle width.
@param height  the rectangle height.
Fills the specified rectangle with the current { @code paint } .