|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.jemmy.image.RoughImageFinder
public class RoughImageFinder
Performs "rough" image search.
Constructor Summary | |
---|---|
RoughImageFinder(java.awt.image.BufferedImage area,
double roughness)
Creates an instance allowing to find an image inside the one passed as parameter with some "roughness". |
Method Summary | |
---|---|
java.awt.Point |
findImage(java.awt.image.BufferedImage image,
int index)
Performs "rough" search. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoughImageFinder(java.awt.image.BufferedImage area, double roughness)
area
- - Image to search in.roughness
- - AllowedMethod Detail |
---|
public java.awt.Point findImage(java.awt.image.BufferedImage image, int index)
findImage
in interface ImageFinder
image
- an image to search.index
- an ordinal image location index.
image1.getWidth() * image1.getHeight() * roughness
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |