Settings:getComparisonWidth()
Get the width used when comparing captured screens with templates.
Signature
Settings:getComparisonWidth(): number
Returns
number - Width in pixels, or the device width when no override is set.
Description
Template matching normalizes the screen to this size before comparing. 0 means "use the
device's current width"; Settings:setComparisonWidth() sets an explicit value.