Sets the clipping rectangle.
public void setClip( Rectangle r )
public void setClip( String strClip )
r
The clipping Rectangle object.
strClip
The clip string. This can be in the format of "rect( top, right, bottom, left )" where top, left, bottom or right can be either "auto" or a length measurement.
Regions outside the clipping rectangle will not be drawn.