The SVGTextPositioningElement
interface is implemented by elements that support attributes that position individual text glyphs. It is inherited by SVGTextElement
, SVGTSpanElement
, SVGTRefElement
and SVGAltGlyphElement
.
This interface also inherits properties from its parent, SVGTextContentElement
.
SVGTextPositioningElement.x
Read only
SVGAnimatedLengthList
reflecting the x
attribute of the given element.SVGTextPositioningElement.y
Read only
SVGAnimatedLengthList
reflecting the y
attribute of the given element.SVGTextPositioningElement.dx
Read only
SVGAnimatedLengthList
reflecting the dx
attribute of the given element.SVGTextPositioningElement.dy
Read only
SVGAnimatedLengthList
reflecting the dy
attribute of the given element.SVGTextPositioningElement.rotate
Read only
SVGAnimatedNumberList
reflecting the rotate
attribute of the given element.This interface doesn't provide any specific methods, but inherits methods from its parent, SVGTextContentElement
.
Specification | Status | Comment |
---|---|---|
Scalable Vector Graphics (SVG) 2 The definition of 'SVGGeometryElement' in that specification. | Candidate Recommendation | No change |
Scalable Vector Graphics (SVG) 1.1 (Second Edition) The definition of 'SVGGeometryElement' in that specification. | Recommendation | Initial definition |
Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|---|
Basic support | (Yes) | 20 (12.10240) | (Yes) | (Yes) | (Yes) | (Yes) |
Feature | Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | ? | 20 (12.10240) | (Yes) | ? | ? | ? |
© 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