setRegion

abstract fun setRegion(region: Rect.() -> Unit?)

设置区域构建器

Parameters

region

用于构建比较区域的lambda表达式,通过Rect的扩展函数定义比较区域; null表示在整个图像范围内进行比较