Constructor and Description |
---|
Finder(ScreenImage img,
Region region)
Finder constructor (finding within the given region).
|
Finder(java.lang.String screenFilename)
Finder constructor (finding within the desktop screen).
|
Finder(java.lang.String screenFilename,
Region region)
Finder constructor (finding within the given region).
|
Modifier and Type | Method and Description |
---|---|
void |
__del__() |
Finder |
__enter__() |
void |
__exit__(java.lang.Object type,
java.lang.Object value,
java.lang.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(java.lang.String templateFilename,
double minSimilarity) |
<PSC> void |
findAll(PSC ptn) |
void |
findAll(java.lang.String templateFilename,
double minSimilarity) |
protected java.lang.String |
findImageFile(java.lang.String file) |
boolean |
hasNext() |
Match |
next() |
void |
remove() |
protected <PSC> void |
setFindInput(PSC ptn) |
protected void |
setTargetSmartly(FindInput fin,
java.lang.String target) |
public Finder(java.lang.String screenFilename) throws java.io.IOException
java.io.IOException
public Finder(java.lang.String screenFilename, Region region) throws java.io.IOException
java.io.IOException
public Finder(ScreenImage img, Region region)
public Finder __enter__()
public void __exit__(java.lang.Object type, java.lang.Object value, java.lang.Object trackback)
public void __del__()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
protected java.lang.String findImageFile(java.lang.String file) throws java.io.IOException
java.io.IOException
protected <PSC> void setFindInput(PSC ptn) throws java.io.IOException
java.io.IOException
protected void setTargetSmartly(FindInput fin, java.lang.String target)
public <PSC> void find(PSC ptn) throws java.io.IOException
java.io.IOException
public void find(java.lang.String templateFilename, double minSimilarity) throws java.io.IOException
java.io.IOException
public <PSC> void findAll(PSC ptn) throws java.io.IOException
java.io.IOException
public void findAll(java.lang.String templateFilename, double minSimilarity) throws java.io.IOException
java.io.IOException
public boolean hasNext()
hasNext
in interface java.util.Iterator<Match>
public void remove()
remove
in interface java.util.Iterator<Match>
public void destroy()