SVGTextPositioningElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
TheSVGTextPositioningElement interface is implemented by elements that support attributes that position individual text glyphs. It is inherited bySVGTextElement andSVGTSpanElement.
In this article
Instance properties
This interface also inherits properties from its parent,SVGTextContentElement.
SVGTextPositioningElement.xRead onlyReturns an
SVGAnimatedLengthListreflecting thexattribute of the given element.SVGTextPositioningElement.yRead onlyReturns an
SVGAnimatedLengthListreflecting theyattribute of the given element.SVGTextPositioningElement.dxRead onlyReturns an
SVGAnimatedLengthListreflecting thedxattribute of the given element.SVGTextPositioningElement.dyRead onlyReturns an
SVGAnimatedLengthListreflecting thedyattribute of the given element.SVGTextPositioningElement.rotateRead onlyReturns an
SVGAnimatedNumberListreflecting therotateattribute of the given element.
Instance methods
This interface doesn't provide any specific methods, but inherits methods from its parent,SVGTextContentElement.
Specifications
| Specification |
|---|
| Scalable Vector Graphics (SVG) 2> # InterfaceSVGTextPositioningElement> |