Skip to content

Documentation / @ripl/svg / SVGTextPath

Class: SVGTextPath

Defined in: svg/src/index.ts:485

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/index.ts:492

Parameters

ParameterType
textIdstring
pathIdstring
contentstring
startOffset?number

Returns

SVGTextPath

Properties

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