Region():find()
在该区域内执行图像或文本搜索,如果找到图像或文本则返回 MatchResult,否则返回 nil。
签名
find(template: string): MatchResult | nil
find(template: string, params: FinderParams): MatchResult | nil
find(template: string, timeout: number, params: FinderParams): MatchResult | nil
返回值
MatchResult 或 nil