org.sikuli.script
Class ScreenImage
java.lang.Object
org.sikuli.script.ScreenImage
public class ScreenImage
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
public int x
y
public int y
w
public int w
h
public int h
_roi
protected Rectangle _roi
_img
protected BufferedImage _img
_filename
protected String _filename
ScreenImage
public ScreenImage(Rectangle roi,
BufferedImage img)
getFilename
public String getFilename()
throws IOException
- lazy method: creates the file only when needed.
- Throws:
IOException
getImage
public BufferedImage getImage()
getROI
public Rectangle getROI()