Clip with the interior of the specified Shape and sets the Clip to the resulting intersection. The specified Shape is transformed with the current Graphics2D Transform before being intersected with the current Clip. This method is used to make the current Clip smaller. To make the Clip larger, use setClip. The user clip modified by this method is independent of the clipping associated with device bounds and visibility. If no clip has previously been set, or if the clip has been cleared using {@link Graphics#setClip(Shape) setClip} with a nullargument, the specified Shape becomes the new user clip.
@param s the Shape to be intersected with the currentClip. If s is null, this method clears the current Clip.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |