aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/touch/rotationangle/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/touch/rotationangle/index.html')
-rw-r--r--files/zh-cn/web/api/touch/rotationangle/index.html28
1 files changed, 28 insertions, 0 deletions
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
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Summary" name="Summary">概述</h3>
+<p>返回以度为单位的旋转角. <code>由radiusX</code> 和 <code>radiusY</code> 描述的正方向的椭圆,通过顺时针旋转这个角度后,能最精确地覆盖住用户和触摸平面的接触面的角度. 这个值可能从0到90. 这三个值一起描述了用户和触摸平面的接触面的形状的大小. 例如, 当用户使用手指和平面接触时, 它可能是一个较大的椭圆, 而当用户使用触摸笔时, 它可能是很小的椭圆.</p>
+<h3 id="Syntax" name="Syntax">语法</h3>
+<pre class="eval">var <em>angle</em> = <em>touchItem</em>.rotationAngle;
+</pre>
+<h3 id="Return_Value" name="Return_Value">返回值</h3>
+<dl>
+ <dt>
+ <code>angle</code></dt>
+ <dd>
+ 以度为单位的旋转角. <code>由radiusX</code> 和 <code>radiusY</code> 描述的正方向的椭圆,通过顺时针旋转这个角度后,能最精确地覆盖住用户和触摸平面的接触面的角度.</dd>
+</dl>
+<h3 id="Specification" name="Specification">标准定义</h3>
+<p><a class="external" href="http://www.w3.org/TR/touch-events/" title="http://www.w3.org/TR/touch-events/">Touch Events Specification</a></p>
+<h3 id="相关链接">相关链接</h3>
+<ul>
+ <li>{{ domxref("Touch.radiusX") }}</li>
+ <li>{{ domxref("Touch.radiusY") }}</li>
+ <li>{{ domxref("Touch.force") }}</li>
+</ul>