Ejemplo n.º 1
0
 /** 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());
   }
 }
Ejemplo n.º 2
0
 /** Overrides <code>Graphics.setClip</code>. */
 public void setClip(Shape clip) {
   graphics.setClip(clip);
   if (debugLog()) {
     info().log(toShortString() + " Setting new clipRect: " + graphics.getClip());
   }
 }
Ejemplo n.º 3
0
 /** Overrides <code>Graphics.getClip</code>. */
 public Shape getClip() {
   return graphics.getClip();
 }
Ejemplo n.º 4
0
 /** 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());
   }
 }