/** Overrides <code>Graphics.clipRect</code>. */ public void clipRect(int x, int y, int width, int height) { graphics.clipRect(x, y, width, height); if (debugLog()) { info() .log( toShortString() + " Setting clipRect: " + (new Rectangle(x, y, width, height)) + " New clipRect: " + graphics.getClip()); } }
/** Overrides <code>Graphics.setClip</code>. */ public void setClip(Shape clip) { graphics.setClip(clip); if (debugLog()) { info().log(toShortString() + " Setting new clipRect: " + graphics.getClip()); } }
/** Overrides <code>Graphics.getClip</code>. */ public Shape getClip() { return graphics.getClip(); }
/** Overrides <code>Graphics.setClip</code>. */ public void setClip(int x, int y, int width, int height) { graphics.setClip(x, y, width, height); if (debugLog()) { info().log(toShortString() + " Setting new clipRect: " + graphics.getClip()); } }