org.sikuli.script
Class ScreenImage

java.lang.Object
  extended by org.sikuli.script.ScreenImage

public class ScreenImage
extends Object


Field Summary
protected  String _filename
           
protected  BufferedImage _img
           
protected  Rectangle _roi
           
 int h
           
 int w
           
 int x
           
 int y
           
 
Constructor Summary
ScreenImage(Rectangle roi, BufferedImage img)
           
 
Method Summary
 String getFilename()
          lazy method: creates the file only when needed.
 BufferedImage getImage()
           
 Rectangle getROI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ScreenImage

public ScreenImage(Rectangle roi,
                   BufferedImage img)
Method Detail

getFilename

public String getFilename()
                   throws IOException
lazy method: creates the file only when needed.

Throws:
IOException

getImage

public BufferedImage getImage()

getROI

public Rectangle getROI()