@Override
    public void clipRect(int x, int y, int width, int height) {
        setRect(x, y, width, height);
        clip(this.rect);
    }
@Override
    public void clipRect(int x, int y, int width, int height) {
        setRect(x, y, width, height);
        clip(this.rect);
    }
@ Override public void clipRect ( int x , int y , int width , int height ) { setRect ( x , y , width , height ) ; clip ( this . rect ) ; }
Clips to the intersection of the current clipping region and the
specified rectangle.

@param x  the x-coordinate.
@param y  the y-coordinate.
@param width  the width.
@param height  the height.
Clips to the intersection of the current clipping region and the specified rectangle .