Share via


Graphics.setClip

Class Overview | Class Members | This Package | All Packages

Syntax

public abstract void setClip( Shape clip )

Description

Sets the current clipping area to an arbitrary clip shape. Not all objects which implement the Shape interface can be used to set the clip. The only Shape objects which are guaranteed to be supported are Shape objects which are obtained via the getClip method and via Rectangle objects.

See Also

getClip, clipRect, setClip