public void clipRect(int x,int y,int width,int height){
  mGraphics.clipRect(x,y,width,height);
}

public void clipRect ( int x , int y , int width , int height ) { mGraphics . clipRect ( x , y , width , height ) ; }
intersects the current clip with the specified rectangle . the resulting clipping area is the intersection of the current clipping area and the specified rectangle . this method can only be used to make the current clip smaller . to set the current clip larger , use any of the setclip methods . rendering operations have no effect outside of the clipping area .
