Graphics.clipRect
Class Overview | Class Members | This Package | All Packages
Syntax
public abstract void clipRect( int x**, int** y**, int** width**, int** height )
Parameters
- x
the x coordinate of the rectangle to intersect the clip with - y
the y coordinate of the rectangle to intersect the clip with - width
the width of the rectangle to intersect the clip with - height
the height of the rectangle to intersect the clip with
Description
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.