integerSnapTolerance property
Snap scale to a nearby integer within this relative tolerance (e.g. 1.985 -> 2.0). Bitmap assets and 1px hairlines render dramatically crisper at integer scales, and a ~2% size change is imperceptible.
Implementation
final double integerSnapTolerance;