MDN self-hosted library · e01.org

SVGTextPositioningElement

SVG

no runnable cells web-api-interface upstream source

SVG

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

Instance properties

This interface also inherits properties from its parent, SVGTextContentElement.

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

Instance methods

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

Specifications

Browser compatibility