files/en-us/web/api/svgtextpathelement/index.md
{{APIRef("SVG")}}
The SVGTextPathElement interface corresponds to the {{SVGElement("textPath")}} element.
{{InheritanceDiagram}}
This interface also inherits properties from its parent interface, {{domxref("SVGTextContentElement")}}.
TEXTPATH_METHODTYPE_* constants defined on this interface.TEXTPATH_SPACINGTYPE_* constants defined on this interface.This interface does not provide any specific methods, but implements those of its parent, {{domxref("SVGTextContentElement")}}.
TEXTPATH_METHODTYPE_UNKNOWN (0)
TEXTPATH_METHODTYPE_ALIGN (1)
align.TEXTPATH_METHODTYPE_STRETCH (2)
stretch.TEXTPATH_SPACINGTYPE_UNKNOWN (0)
TEXTPATH_SPACINGTYPE_AUTO (1)
auto.TEXTPATH_SPACINGTYPE_EXACT (2)
exact.{{Specifications}}
{{Compat}}