Class CompareSize
java.lang.Object
io.github.jspinak.brobot.actions.methods.basicactions.find.compareImages.CompareSize
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEnvelopedFirstOrNone
(Pattern p1, Pattern p2) Returns an empty list if neither image fits in the other.
-
Constructor Details
-
CompareSize
public CompareSize()
-
-
Method Details
-
getEnvelopedFirstOrNone
Returns an empty list if neither image fits in the other. Otherwise, the enveloped pattern is returned first and the enveloping pattern second.- Parameters:
p1
- a patternp2
- another pattern- Returns:
- the enveloped pattern first or an empty list is no pattern can envelop the other.
-