KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > swing > GraphicsWrapper


1 /*
2  * @(#)GraphicsWrapper.java 1.8 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 package javax.swing;
8
9 /**
10  * A private interface to access clip bounds in wrapped Graphics objects.
11  *
12  * @version 1.8 12/19/03
13  * @author Thomas Ball
14  */

15
16 import java.awt.*;
17
18 interface GraphicsWrapper {
19     Graphics subGraphics();
20
21     boolean isClipIntersecting(Rectangle r);
22
23     int getClipX();
24
25     int getClipY();
26
27     int getClipWidth();
28
29     int getClipHeight();
30 }
31
Popular Tags