code: public void setClipPreserved(boolean shouldRestoreState)
      {
          boolean oldShouldRestoreState = isClipPreserved();
          this.clipPreserved = shouldRestoreState;
          setDirty(true);
          firePropertyChange("clipPreserved", oldShouldRestoreState, shouldRestoreState);
      }
docs: Sets if the clip should be preserved.
  Normally the clip will be reset between each painter. Setting clipPreserved to
  true can be used to let one painter mask other painters that come after it.
  
  @param shouldRestoreState new value of the clipPreserved property
  @see #isClipPreserved()