Package | Description |
---|---|
org.sikuli.script |
Modifier and Type | Method and Description |
---|---|
Pattern |
Pattern.exact()
sets the minimum Similarity to 0.99 which means exact match
|
Pattern |
ObserveEvent.getPattern() |
Pattern |
Pattern.setBImage(BufferedImage bimg)
ONLY FOR INTERNAL USE! Might vanish without notice!
|
Pattern |
Pattern.setFilename(Image img)
set a new image for this pattern
|
Pattern |
Pattern.setFilename(String fileName)
set a new image for this pattern
|
Pattern |
Pattern.setFilename(URL fileURL)
set a new image for this pattern
|
Pattern |
Pattern.setImage(Image img)
sets the Pattern's image
|
Pattern |
Pattern.similar(float sim)
sets the minimum Similarity to use with findX
|
Pattern |
Pattern.targetOffset(int dx,
int dy)
set the offset from the match's center to be used with mouse actions
|
Pattern |
Pattern.targetOffset(Location loc)
set the offset from the match's center to be used with mouse actions
|
Modifier and Type | Method and Description |
---|---|
static Image |
Image.create(Pattern p)
create a new Image with Pattern aspects from an existing Pattern
|
String |
Finder.find(Pattern aPtn)
do a find op with the given pattern in the Finder's image
(hasNext() and next() will reveal possible match results)
|
String |
ImageFinder.find(Pattern pat) |
String |
Finder.findAll(Pattern aPtn)
do a find op with the given pattern in the Finder's image
(hasNext() and next() will reveal possible match results)
|
String |
ImageFinder.findAll(Pattern pat) |
Constructor and Description |
---|
Pattern(Pattern p)
create a new Pattern from another (attribs are copied)
|
Copyright © 2017. All rights reserved.