Skip to content

Documentation / @ripl/svg / SVGTextPath

Class: SVGTextPath ​

Defined in: svg/src/text.ts:59

SVG <textPath> element for rendering text along a path defined in <defs>.

Implements ​

Constructors ​

Constructor ​

new SVGTextPath(textId, pathId, content, startOffset?): SVGTextPath

Defined in: svg/src/text.ts:66

Parameters ​

ParameterType
textIdstring
pathIdstring
contentstring
startOffset?number

Returns ​

SVGTextPath

Properties ​

PropertyModifierTypeDescriptionDefined in
definitionpublicSVGContextElementDefinitionThe rendering definition describing this element's SVG <textPath> node.svg/src/text.ts:64
idreadonlystringUnique identifier for this element, derived from the owning text element's id.svg/src/text.ts:62