Home > @rainway/web > IPenAbsolute
IPenAbsolute interface
A request to perform a remote absolute pen movement. https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-pointer\_pen\_info
Signature:
export interface IPenAbsolute
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
penFlags | readonly | PenFlags | |
penMask | readonly | PenMask | |
pointerInfo | readonly | ITouchPenPointerInfo | |
pressure | readonly | number | A pen pressure normalized to a range between 0 and 1024. The default is 0 if the device does not report pressure. |
rotation | readonly | number | A pointer orientation, with a value between 0 and 359, where 0 indicates a touch pointer aligned with the x-axis and pointing from left to right; increasing values indicate degrees of rotation in the clockwise direction. This field defaults to 0 if the device does not report orientation. |
tiltX | readonly | number | The angle of tilt of the pointer along the x-axis in a range of -90 to +90, with a positive value indicating a tilt to the right. The default is 0. |
tiltY | readonly | number | The angle of tilt of the pointer along the y-axis in a range of -90 to +90, with a positive value indicating a tilt toward the user. The default is 0. |