Constructor and Description |
---|
Finder(ScreenImage img,
Region region)
Finder constructor (finding within the given region).
|
Finder(String screenFilename)
Finder constructor (finding within the desktop screen).
|
Finder(String screenFilename,
Region region)
Finder constructor (finding within the given region).
|
Modifier and Type | Method and Description |
---|---|
void |
__del__() |
Finder |
__enter__() |
void |
__exit__(Object type,
Object value,
Object trackback) |
void |
destroy() |
protected void |
finalize() |
<PSC> void |
find(PSC ptn)
void find( Pattern/String/PatternClass )
finds the given pattern in the given ScreenImage.
|
void |
find(String templateFilename,
double minSimilarity) |
<PSC> void |
findAll(PSC ptn) |
void |
findAll(String templateFilename,
double minSimilarity) |
protected String |
findImageFile(String file) |
boolean |
hasNext() |
Match |
next() |
void |
remove() |
protected <PSC> void |
setFindInput(PSC ptn) |
protected void |
setTargetSmartly(org.sikuli.script.natives.FindInput fin,
String target) |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public Finder(String screenFilename) throws IOException
IOException
public Finder(String screenFilename, Region region) throws IOException
IOException
public Finder(ScreenImage img, Region region)
public Finder __enter__()
public void __del__()
protected void finalize() throws Throwable
protected String findImageFile(String file) throws IOException
IOException
protected <PSC> void setFindInput(PSC ptn) throws IOException
IOException
protected void setTargetSmartly(org.sikuli.script.natives.FindInput fin, String target)
public <PSC> void find(PSC ptn) throws IOException
IOException
public void find(String templateFilename, double minSimilarity) throws IOException
IOException
public <PSC> void findAll(PSC ptn) throws IOException
IOException
public void findAll(String templateFilename, double minSimilarity) throws IOException
IOException
public void destroy()