Pinchtozoomin
Pinchtozoomin is a gesture-based user interface feature used on touch-enabled devices and apps. It interprets a two-finger pinch as a command to magnify content, typically increasing its scale so that details become larger.
Implementation relies on detecting two simultaneous touch points, recording their initial separation, and then tracking changes
It is widely used in maps, image viewers, document readers, and web browsers. Platform frameworks provide dedicated
Two common variants are pinch-to-zoom-in, where the content enlarges as the fingers move apart, and pinch-to-zoom-out,
Design considerations include preventing accidental zoom during panning, providing accessible alternatives such as on-screen zoom controls
See also: pinch-to-zoom, gesture recognition, touch input, scale gesture detectors.