| 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, waitforEachRemainingpublic Finder(String screenFilename) throws IOException
IOExceptionpublic Finder(String screenFilename, Region region) throws IOException
IOExceptionpublic Finder(ScreenImage img, Region region)
public Finder __enter__()
public void __del__()
protected void finalize()
throws Throwable
protected String findImageFile(String file) throws IOException
IOExceptionprotected <PSC> void setFindInput(PSC ptn)
throws IOException
IOExceptionprotected void setTargetSmartly(org.sikuli.script.natives.FindInput fin,
String target)
public <PSC> void find(PSC ptn)
throws IOException
IOExceptionpublic void find(String templateFilename, double minSimilarity) throws IOException
IOExceptionpublic <PSC> void findAll(PSC ptn)
throws IOException
IOExceptionpublic void findAll(String templateFilename, double minSimilarity) throws IOException
IOExceptionpublic void destroy()