Skip to content

textmode.js / input / touch / TouchRotateEventData

Interface: TouchRotateEventData

Rotate gesture event data describing the angle change between the initial and current segment

Properties

PropertyTypeDescription
centerobjectCentre of the gesture in grid coordinates
center.xnumberGrid X coordinate (column)
center.ynumberGrid Y coordinate (row)
deltaRotationnumberChange in rotation since the previous callback
originalEventTouchEventOriginal browser event
rotationnumberTotal rotation in degrees relative to the initial angle
touches[TouchPosition, TouchPosition]Touch points participating in the rotation, always two entries