public class ScreenImage extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
_filename |
protected BufferedImage |
_img |
protected Rectangle |
_roi |
int |
h |
int |
w |
int |
x |
int |
y |
Constructor and Description |
---|
ScreenImage(Rectangle roi,
BufferedImage img) |
Modifier and Type | Method and Description |
---|---|
String |
getFilename()
lazy method: creates the file only when needed.
|
BufferedImage |
getImage() |
Rectangle |
getROI() |
public int x
public int y
public int w
public int h
protected Rectangle _roi
protected BufferedImage _img
protected String _filename
public ScreenImage(Rectangle roi, BufferedImage img)
public String getFilename() throws IOException
IOException
public BufferedImage getImage()
public Rectangle getROI()