Touch: rotationAngle プロパティ

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

rotationAngleTouch インターフェイスの読み取り専用プロパティで、 Touch.radiusXTouch.radiusY で定義する接触楕円の回転角度を度単位で返します。値は 0 から 90 の間です。これら 3 つの値を合わせて、ユーザーと画面の連絡先の大きさと図形を近似する楕円を記述します。これは例えば、指先と画面の連絡先を表す比較的大きな楕円にも、スタイラスの先端を表す小さな領域にもなりえます。

数値です。

このプロパティの使い方の例については Touch.radiusX の例を参照してください。

仕様書

Specification
Touch Events
# dom-touch-rotationangle

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
rotationAngle

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Partial support
Partial support
No support
No support
Requires a vendor prefix or different name for use.
Has more compatibility info.