Home > @rainway/web > ITouchAbsolute
ITouchAbsolute interface
Signature:
export interface ITouchAbsolute
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
contactBottom | readonly | number | The screen y-coordinate of the bottom edge of the contact area. |
contactLeft | readonly | number | The screen x-coordinate of the left edge of the contact area. |
contactRight | readonly | number | The screen x-coordinate of the right edge of the contact area. |
contactTop | readonly | number | The screen y-coordinate of the top edge of the contact area. |
orientation | 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. |
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. |
touchMask | readonly | TouchMask |