1. /*
  2. * @(#)GraphicsWrapper.java 1.5 00/02/02
  3. *
  4. * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package javax.swing;
  11. /**
  12. * A private interface to access clip bounds in wrapped Graphics objects.
  13. *
  14. * @version 1.5 02/02/00
  15. * @author Thomas Ball
  16. */
  17. import java.awt.*;
  18. interface GraphicsWrapper {
  19. Graphics subGraphics();
  20. boolean isClipIntersecting(Rectangle r);
  21. int getClipX();
  22. int getClipY();
  23. int getClipWidth();
  24. int getClipHeight();
  25. }