Home > rainway-sdk-native > ITouchPenPointerInfo
ITouchPenPointerInfo interface
Information common to touch and pen events. This is a subset of: https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-pointer\_info
Signature:
export interface ITouchPenPointerInfo
Properties
Property | Type | Description |
---|---|---|
frameId | number | An incrementing number that is the same for all updates that happened in the same frame. |
pointerFlags | number | A terrifying enum: https://docs.microsoft.com/en-us/windows/win32/inputmsg/pointer-flags-contants |
pointerId | number | An 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. |
x | number | The x screen coordinate of the pointer, in pixels. |
y | number | The y screen coordinate of the pointer, in pixels. |