|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Screen
The Screen interface provides definitions for the objects that represent a Screen.
| Method Summary | |
|---|---|
BufferedImage |
getScreenshot(int x,
int y,
int width,
int height)
Creates and returns an image containing a screen capture of the specified arguments of the same name. |
Dimension |
getSize()
Gets the size of this Screen, represented by the returned Dimension. |
| Method Detail |
|---|
BufferedImage getScreenshot(int x,
int y,
int width,
int height)
x - the X location of the screen coordinate.y - the Y location of the screen coordinate.width - The width of the region to be captured.height - The height of the region to be captured.
Dimension getSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||