touchevents.html
changeset 224 bce3d93b8085
parent 223 df8e585dbc59
child 225 6892d44dee21
equal deleted inserted replaced
223:df8e585dbc59 224:bce3d93b8085
   556         This section defines <em>extensions</em> to the <a href="#idl-def-Touch" class="idlType"><code>Touch</code></a> interface
   556         This section defines <em>extensions</em> to the <a href="#idl-def-Touch" class="idlType"><code>Touch</code></a> interface
   557 	defined in [<cite><a class="bibref" href="#bib-TOUCH-EVENTS">TOUCH-EVENTS</a></cite>].
   557 	defined in [<cite><a class="bibref" href="#bib-TOUCH-EVENTS">TOUCH-EVENTS</a></cite>].
   558       </p>
   558       </p>
   559 
   559 
   560       <pre class="idl"><span class="idlInterface" id="idl-def-Touch">partial interface <span class="idlInterfaceID">Touch</span> {
   560       <pre class="idl"><span class="idlInterface" id="idl-def-Touch">partial interface <span class="idlInterfaceID">Touch</span> {
   561 <span class="idlAttribute">    readonly    attribute <span class="idlAttrType">long</span>  <span class="idlAttrName"><a href="#widl-Touch-radiusX">radiusX</a></span>;</span>
   561 <span class="idlAttribute">    readonly    attribute <span class="idlAttrType">float</span> <span class="idlAttrName"><a href="#widl-Touch-radiusX">radiusX</a></span>;</span>
   562 <span class="idlAttribute">    readonly    attribute <span class="idlAttrType">long</span>  <span class="idlAttrName"><a href="#widl-Touch-radiusY">radiusY</a></span>;</span>
   562 <span class="idlAttribute">    readonly    attribute <span class="idlAttrType">float</span> <span class="idlAttrName"><a href="#widl-Touch-radiusY">radiusY</a></span>;</span>
   563 <span class="idlAttribute">    readonly    attribute <span class="idlAttrType">float</span> <span class="idlAttrName"><a href="#widl-Touch-rotationAngle">rotationAngle</a></span>;</span>
   563 <span class="idlAttribute">    readonly    attribute <span class="idlAttrType">float</span> <span class="idlAttrName"><a href="#widl-Touch-rotationAngle">rotationAngle</a></span>;</span>
   564 <span class="idlAttribute">    readonly    attribute <span class="idlAttrType">float</span> <span class="idlAttrName"><a href="#widl-Touch-force">force</a></span>;</span>
   564 <span class="idlAttribute">    readonly    attribute <span class="idlAttrType">float</span> <span class="idlAttrName"><a href="#widl-Touch-force">force</a></span>;</span>
   565 };</span></pre><section id="attributes"><h3 aria-level="2" role="heading" id="h3_attributes"><span class="secno">2.1 </span>Attributes</h3><dl class="attributes"><dt id="widl-Touch-force"><code>force</code> of type <span class="idlAttrType">float</span>, readonly   </dt><dd>
   565 };</span></pre><section id="attributes"><h3 aria-level="2" role="heading" id="h3_attributes"><span class="secno">2.1 </span>Attributes</h3><dl class="attributes"><dt id="widl-Touch-force"><code>force</code> of type <span class="idlAttrType">float</span>, readonly   </dt><dd>
   566           a relative value of pressure applied, in the range <code>0</code> to
   566           a relative value of pressure applied, in the range <code>0</code> to
   567           <code>1</code>, where <code>0</code> is no pressure, and
   567           <code>1</code>, where <code>0</code> is no pressure, and
   576             Consider aligning with other "channels" and values from
   576             Consider aligning with other "channels" and values from
   577             <a href="http://www.w3.org/TR/InkML/#channelContents">Ink Markup
   577             <a href="http://www.w3.org/TR/InkML/#channelContents">Ink Markup
   578             Language (InkML)</a>, in addition to force, e.g. adding
   578             Language (InkML)</a>, in addition to force, e.g. adding
   579             angle, clientZ, rotation, etc.
   579             angle, clientZ, rotation, etc.
   580           </p></div>
   580           </p></div>
   581         </dd><dt id="widl-Touch-radiusX"><code>radiusX</code> of type <span class="idlAttrType">long</span>, readonly   </dt><dd>
   581         </dd><dt id="widl-Touch-radiusX"><code>radiusX</code> of type <span class="idlAttrType">float</span>, readonly   </dt><dd>
   582           the radius of the ellipse which most closely circumscribes the
   582           the radius of the ellipse which most closely circumscribes the
   583           touching area (e.g. finger, stylus) along the axis indicated by rotationAngle, in CSS pixels of
   583           touching area (e.g. finger, stylus) along the axis indicated by rotationAngle, in CSS pixels of
   584           the same scale as screenX; <code>1</code> if no value is
   584           the same scale as screenX; <code>1</code> if no value is
   585           known.  The value must be positive.
   585           known.  The value must be positive.
   586         </dd><dt id="widl-Touch-radiusY"><code>radiusY</code> of type <span class="idlAttrType">long</span>, readonly   </dt><dd>
   586         </dd><dt id="widl-Touch-radiusY"><code>radiusY</code> of type <span class="idlAttrType">float</span>, readonly   </dt><dd>
   587           the radius of the ellipse which most closely circumscribes the
   587           the radius of the ellipse which most closely circumscribes the
   588           touching area (e.g. finger, stylus) along the axis perpendicular to that indicated by rotationAngle, in CSS pixels of
   588           touching area (e.g. finger, stylus) along the axis perpendicular to that indicated by rotationAngle, in CSS pixels of
   589           the same scale as screenY; <code>1</code> if no value is
   589           the same scale as screenY; <code>1</code> if no value is
   590           known.  The value must be positive.
   590           known.  The value must be positive.
   591         </dd><dt id="widl-Touch-rotationAngle"><code>rotationAngle</code> of type <span class="idlAttrType">float</span>, readonly   </dt><dd>
   591         </dd><dt id="widl-Touch-rotationAngle"><code>rotationAngle</code> of type <span class="idlAttrType">float</span>, readonly   </dt><dd>