ImageFinderpublic class StrictImageFinder extends java.lang.Object implements ImageFinder
| Constructor | Description |
|---|---|
StrictImageFinder(java.awt.image.BufferedImage area) |
Creates an instance searching subimages insige a parameter image.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.awt.Point |
findImage(java.awt.image.BufferedImage image,
int index) |
Searchs for an image inside image passed into constructor.
|
public StrictImageFinder(java.awt.image.BufferedImage area)
area - - Image to search in.public java.awt.Point findImage(java.awt.image.BufferedImage image,
int index)
findImage in interface ImageFinderimage - an image to search.index - an ordinal image location index. If equal to 1, for example,
second appropriate location will be found.