public void clip(Shape s){
  mGraphics.clip(s);
}

public void clip ( Shape s ) { mGraphics . clip ( s ) ; }
intersects the current clip with the interior of the specified shape and sets the current clip to the resulting intersection . the indicated shape is transformed with the current transform in the graphics2d state before being intersected with the current clip . this method is used to make the current clip smaller . to make the clip larger , use any setclip method .
