@Override
    public Shape getClip() {
        if (this.clip == null) {
            return null;
        }
        AffineTransform inv;
        try {
            inv = this.transform.createInverse();
            return inv.createTransformedShape(this.clip);
        } catch (NoninvertibleTransformException ex) {
            return null;
        }
    }
@Override
    public Shape getClip() {
        if (this.clip == null) {
            return null;
        }
        AffineTransform inv;
        try {
            inv = this.transform.createInverse();
            return inv.createTransformedShape(this.clip);
        } catch (NoninvertibleTransformException ex) {
            return null;
        }
    }
@ Override public Shape getClip ( ) { if ( this . clip == null ) { return null ; } AffineTransform inv ; try { inv = this . transform . createInverse ( ) ; return inv . createTransformedShape ( this . clip ) ; } catch ( NoninvertibleTransformException ex ) { return null ; } }
Returns the user clipping region.  The initial default value is
{@code null}.

@return The user clipping region (possibly {@code null}).

@see #setClip(java.awt.Shape)
Returns the user clipping region . The initial default value is { @code null } .