code: @Override
      public void setClip(int x, int y, int width, int height) {
          setRect(x, y, width, height);
          setClip(this.rect);
      }
docs: Sets the user clipping region to the specified rectangle.
  
  @param x  the x-coordinate.
  @param y  the y-coordinate.
  @param width  the width.
  @param height  the height.
  
  @see #getClip()