HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Web SDK - IPenAbsolute.rotation

Home > @rainway/web > IPenAbsolute > rotation

IPenAbsolute.rotation property

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.

Signature:

readonly rotation: number;