You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
558 B
48 lines
558 B
/*
|
|
* Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved.
|
|
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*
|
|
*/
|
|
package javax.swing;
|
|
|
|
/**
|
|
* A private interface to access clip bounds in wrapped Graphics objects.
|
|
*
|
|
* @author Thomas Ball
|
|
*/
|
|
|
|
import java.awt.*;
|
|
|
|
interface GraphicsWrapper {
|
|
Graphics subGraphics();
|
|
|
|
boolean isClipIntersecting(Rectangle r);
|
|
|
|
int getClipX();
|
|
|
|
int getClipY();
|
|
|
|
int getClipWidth();
|
|
|
|
int getClipHeight();
|
|
}
|