HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Web SDK - ITouchAbsolute

Home > @rainway/web > ITouchAbsolute

ITouchAbsolute interface

Signature:

export interface ITouchAbsolute 

Properties

PropertyModifiersTypeDescription
contactBottomreadonlynumberThe screen y-coordinate of the bottom edge of the contact area.
contactLeftreadonlynumberThe screen x-coordinate of the left edge of the contact area.
contactRightreadonlynumberThe screen x-coordinate of the right edge of the contact area.
contactTopreadonlynumberThe screen y-coordinate of the top edge of the contact area.
orientationreadonlynumber

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.

pointerInforeadonlyITouchPenPointerInfo
pressurereadonlynumberA pen pressure normalized to a range between 0 and 1024. The default is 0 if the device does not report pressure.
touchMaskreadonlyTouchMask