From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/api/touch/rotationangle/index.html | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 files/zh-cn/web/api/touch/rotationangle/index.html (limited to 'files/zh-cn/web/api/touch/rotationangle/index.html') diff --git a/files/zh-cn/web/api/touch/rotationangle/index.html b/files/zh-cn/web/api/touch/rotationangle/index.html new file mode 100644 index 0000000000..dcad758fa7 --- /dev/null +++ b/files/zh-cn/web/api/touch/rotationangle/index.html @@ -0,0 +1,28 @@ +--- +title: Touch.rotationAngle +slug: Web/API/Touch/rotationAngle +tags: + - touch +translation_of: Web/API/Touch/rotationAngle +--- +

{{ ApiRef() }}

+

概述

+

返回以度为单位的旋转角. 由radiusXradiusY 描述的正方向的椭圆,通过顺时针旋转这个角度后,能最精确地覆盖住用户和触摸平面的接触面的角度. 这个值可能从0到90. 这三个值一起描述了用户和触摸平面的接触面的形状的大小. 例如, 当用户使用手指和平面接触时, 它可能是一个较大的椭圆, 而当用户使用触摸笔时, 它可能是很小的椭圆.

+

语法

+
var angle = touchItem.rotationAngle;
+
+

返回值

+
+
+ angle
+
+ 以度为单位的旋转角. 由radiusXradiusY 描述的正方向的椭圆,通过顺时针旋转这个角度后,能最精确地覆盖住用户和触摸平面的接触面的角度.
+
+

标准定义

+

Touch Events Specification

+

相关链接

+ -- cgit v1.2.3-54-g00ecf