Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 405241 of SVGTextPositioningElement

  • Revision slug: Web/API/SVGTextPositioningElement
  • Revision title: SVGTextPositioningElement
  • Revision id: 405241
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment page created, 168 words addedDOM/SVGTextPositioningElement Web/API/SVGTextPositioningElement

Revision Content

SVG "TextPositioningElement" DOM interface

The SVGTextPositioningElement interface is inherited by text-related interfaces: {{ domxref("SVGTextElement") }}, {{ domxref("SVGTSpanElement") }}, {{ domxref("SVGTRefElement") }} and {{ domxref("SVGAltGlyphElement") }}.

Interface overview

Also implement {{ domxref("SVGTextContentElement") }}
Methods None
Properties
  • readonly {{ domxref("SVGAnimatedLengthList") }} x
  • readonly {{ domxref("SVGAnimatedLengthList") }} y
  • readonly {{ domxref("SVGAnimatedLengthList") }} dx
  • readonly {{ domxref("SVGAnimatedLengthList") }} dy
  • readonly {{ domxref("SVGAnimatedNumberList") }} rotate
Normative document SVG 1.1 (2nd Edition)

Properties

Name Type Description
x {{ domxref("SVGAnimatedLengthList") }} Corresponds to attribute {{ SVGAttr("x") }} on the given element.
y {{ domxref("SVGAnimatedLengthList") }} Corresponds to attribute {{ SVGAttr("y") }} on the given element.
dx {{ domxref("SVGAnimatedLengthList") }} Corresponds to attribute {{ SVGAttr("dx") }} on the given element.
dy {{ domxref("SVGAnimatedLengthList") }} Corresponds to attribute {{ SVGAttr("dy") }} on the given element.
rotate {{ domxref("SVGAnimatedNumberList") }} Corresponds to attribute {{ SVGAttr("rotate") }} on the given element.

Methods

The SVGTextPositioningElement interface do not provide any specific methods.

Browser compatibility

{{ CompatibilityTable() }}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}

Revision Source

<h2 id='SVG_"TextPositioningElement"_DOM_interface'>SVG "TextPositioningElement" DOM interface</h2>
<p>The <code>SVGTextPositioningElement</code> interface is inherited by text-related interfaces: {{ domxref("SVGTextElement") }}, {{ domxref("SVGTSpanElement") }}, {{ domxref("SVGTRefElement") }} and {{ domxref("SVGAltGlyphElement") }}.</p>
<h3 id="Interface_overview">Interface overview</h3>
<table class="standard-table"> <tbody> <tr> <th scope="row">Also implement</th> <td>{{ domxref("SVGTextContentElement") }}</td> </tr> <tr> <th scope="row">Methods</th> <td><em>None</em></td> </tr> <tr> <th scope="row">Properties</th> <td> <ul> <li>readonly {{ domxref("SVGAnimatedLengthList") }} <code>x</code></li> <li>readonly {{ domxref("SVGAnimatedLengthList") }} <code>y</code></li> <li>readonly {{ domxref("SVGAnimatedLengthList") }} <code>dx</code></li> <li>readonly {{ domxref("SVGAnimatedLengthList") }} <code>dy</code></li> <li>readonly {{ domxref("SVGAnimatedNumberList") }} <code>rotate</code></li> </ul> </td> </tr> <tr> <th scope="row">Normative document</th> <td><a class="external" href="https://www.w3.org/TR/SVG/text.html#InterfaceSVGTextPositioningElement" title="https://www.w3.org/TR/SVG/text.html#InterfaceSVGTextPositioningElement">SVG 1.1 (2nd Edition)</a></td> </tr> </tbody>
</table>
<h2 id="Properties">Properties</h2>
<table class="standard-table"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>x</code></td> <td>{{ domxref("SVGAnimatedLengthList") }}</td> <td>Corresponds to attribute {{ SVGAttr("x") }} on the given element.</td> </tr> <tr> <td><code>y</code></td> <td>{{ domxref("SVGAnimatedLengthList") }}</td> <td>Corresponds to attribute {{ SVGAttr("y") }} on the given element.</td> </tr> <tr> <td><code>dx</code></td> <td>{{ domxref("SVGAnimatedLengthList") }}</td> <td>Corresponds to attribute {{ SVGAttr("dx") }} on the given element.</td> </tr> <tr> <td><code>dy</code></td> <td>{{ domxref("SVGAnimatedLengthList") }}</td> <td>Corresponds to attribute {{ SVGAttr("dy") }} on the given element.</td> </tr> <tr> <td><code>rotate</code></td> <td>{{ domxref("SVGAnimatedNumberList") }}</td> <td>Corresponds to attribute {{ SVGAttr("rotate") }} on the given element.</td> </tr> </tbody>
</table>
<h2 id="Methods">Methods</h2>
<p>The <code>SVGTextPositioningElement</code> interface do not provide any specific methods.</p>
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
<p>{{ CompatibilityTable() }}</p>
<div id="compat-desktop"> <table class="compat-table"> <tbody> <tr> <th>Feature</th> <th>Chrome</th> <th>Firefox (Gecko)</th> <th>Internet Explorer</th> <th>Opera</th> <th>Safari (WebKit)</th> </tr> <tr> <td>Basic support</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> </tr> </tbody> </table>
</div>
<div id="compat-mobile"> <table class="compat-table"> <tbody> <tr> <th>Feature</th> <th>Android</th> <th>Firefox Mobile (Gecko)</th> <th>IE Mobile</th> <th>Opera Mobile</th> <th>Safari Mobile</th> </tr> <tr> <td>Basic support</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> <td>{{ CompatUnknown() }}</td> </tr> </tbody> </table>
</div>
Revert to this revision