1. /*
  2. * @(#)GraphicsWrapper.java 1.4 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.swing;
  8. /**
  9. * A private interface to access clip bounds in wrapped Graphics objects.
  10. *
  11. * @version 1.4 11/29/01
  12. * @author Thomas Ball
  13. */
  14. import java.awt.*;
  15. interface GraphicsWrapper {
  16. Graphics subGraphics();
  17. boolean isClipIntersecting(Rectangle r);
  18. int getClipX();
  19. int getClipY();
  20. int getClipWidth();
  21. int getClipHeight();
  22. }