Match

The result of a find operation on the region

Constructor

Instance of this class can only be created after a find operation. Check Region

Methods
getRegion
Region getRegion()

Get the Region of the match. The region is positioned exactly where the match was found. The region dimensions are relative to the device dimensions so noScale is set to true by default

Return
Region The Region of the found match
getPoint
Point getPoint()

Get the middle point of the match. noScale is set to true by default

Return
Point The middle Point of the found match
getScore
number getScore()

Get the match score

Return
number The match score
click
void click(param: CParam)

Click in the middle of this match

Parameters
param CParam

© 2024 - Macrorify by KoK-CODE