Settings:getComparisonDensity()
Get the screen density (dpi) the running macro's templates were captured at.
Signature
Settings:getComparisonDensity(): number
Returns
number - Density in dpi, or 0 when the macro predates density recording.
Description
Used together with the comparison width and height to keep image matching accurate when the
same macro runs on a device with a different screen. Settings:setComparisonDensity() sets it
for the current run.
Compatible Version: 1.0.0.37 and up