Web SDK - ITouchAbsolute

Home > @rainway/web > ITouchAbsolute

ITouchAbsolute interface

Signature:

export interface ITouchAbsolute 

Properties

PropertyTypeDescription
contactBottomnumberThe screen y-coordinate of the bottom edge of the contact area.
contactLeftnumberThe screen x-coordinate of the left edge of the contact area.
contactRightnumberThe screen x-coordinate of the right edge of the contact area.
contactTopnumberThe screen y-coordinate of the top edge of the contact area.
orientationnumberA 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.
pointerInfoITouchPenPointerInfo
pressurenumberA pen pressure normalized to a range between 0 and 1024. The default is 0 if the device does not report pressure.
touchMaskTouchMask