OffsetPair.fromEventDelta constructor
- PointerEvent event
Creates a OffsetPair from PointerEvent.localDelta and PointerEvent.delta.
Implementation
OffsetPair.fromEventDelta(PointerEvent event)
: local = event.localDelta,
global = event.delta;