W3cubDocs

/DOM

SVGTextPositioningElement

The SVGTextPositioningElement interface is implemented by elements that support attributes that position individual text glyphs. It is inherited by SVGTextElement, SVGTSpanElement, SVGTRefElement and SVGAltGlyphElement.

Properties

This interface also inherits properties from its parent, SVGTextContentElement.

SVGTextPositioningElement.x Read only
Returns an SVGAnimatedLengthList reflecting the x attribute of the given element.
SVGTextPositioningElement.y Read only
Returns an SVGAnimatedLengthList reflecting the y attribute of the given element.
SVGTextPositioningElement.dx Read only
Returns an SVGAnimatedLengthList reflecting the dx attribute of the given element.
SVGTextPositioningElement.dy Read only
Returns an SVGAnimatedLengthList reflecting the dy attribute of the given element.
SVGTextPositioningElement.rotate Read only
Returns an SVGAnimatedNumberList reflecting the rotate attribute of the given element.

Methods

This interface doesn't provide any specific methods, but inherits methods from its parent, SVGTextContentElement.

Specifications

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support Yes 12 Yes Yes Yes Yes
dx ? ? ? ? ? ?
dy ? ? ? ? ? ?
rotate ? ? ? ? ? ?
x ? ? ? ? ? ?
y ? ? ? ? ? ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support Yes Yes 12 Yes Yes Yes ?
dx ? ? ? ? ? ? ?
dy ? ? ? ? ? ? ?
rotate ? ? ? ? ? ? ?
x ? ? ? ? ? ? ?
y ? ? ? ? ? ? ?

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement