org.sikuli.script
Class ScreenImage

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

public class ScreenImage
extends java.lang.Object


Field Summary
 int h
           
 int w
           
 int x
           
 int y
           
 
Constructor Summary
ScreenImage(java.awt.Rectangle roi, java.awt.image.BufferedImage img)
           
 
Method Summary
 java.lang.String getFilename()
          lazy method: creates the file only when needed.
 java.awt.image.BufferedImage getImage()
           
 java.awt.Rectangle getROI()
           
 
Methods inherited from class java.lang.Object
equals, 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
Constructor Detail

ScreenImage

public ScreenImage(java.awt.Rectangle roi,
                   java.awt.image.BufferedImage img)
Method Detail

getFilename

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

Throws:
java.io.IOException

getImage

public java.awt.image.BufferedImage getImage()

getROI

public java.awt.Rectangle getROI()