/[classpath]/classpath/java/awt/Graphics.java
ViewVC logotype

Diff of /classpath/java/awt/Graphics.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by rabbit78, Mon Oct 10 12:08:41 2005 UTC revision 1.15 by rabbit78, Mon Oct 10 12:18:05 2005 UTC
# Line 604  public abstract class Graphics Line 604  public abstract class Graphics
604             + getColor () + "]";             + getColor () + "]";
605    }    }
606    
607      /**
608       * Returns <code>true</code> if the specified rectangle intersects with the
609       * current clip, <code>false</code> otherwise.
610       *
611       * @param x the X coordinate of the upper left corner of the test rectangle
612       * @param y the Y coordinate of the upper left corner of the test rectangle
613       * @param width the width of the upper left corner of the test rectangle
614       * @param height the height of the upper left corner of the test rectangle
615       * @return <code>true</code> if the specified rectangle intersects with the
616       *         current clip, <code>false</code> otherwise
617       */
618    public boolean hitClip(int x, int y, int width, int height)    public boolean hitClip(int x, int y, int width, int height)
619    {    {
620      throw new UnsupportedOperationException("not implemented yet");      return getClip().intersects(x, y, width, height);
621    }    }
622    
623    public Rectangle getClipBounds(Rectangle r)    public Rectangle getClipBounds(Rectangle r)

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26