Node.js SDK - ITouchPenPointerInfo

Home > rainway-sdk-native > ITouchPenPointerInfo

ITouchPenPointerInfo interface

Information common to touch and pen events. This is a subset of:\_info


export interface ITouchPenPointerInfo 


frameIdnumberAn incrementing number that is the same for all updates that happened in the same frame.
pointerFlagsnumberA terrifying enum:
pointerIdnumberAn identifier that uniquely identifies a pointer during its lifetime. A pointer comes into existence when it is first detected and ends its existence when it goes out of detection range. Note that if a physical entity (finger or pen) goes out of detection range and then returns to be detected again, it is treated as a new pointer and may be assigned a new pointer identifier.
xnumberThe x screen coordinate of the pointer, in pixels.
ynumberThe y screen coordinate of the pointer, in pixels.