textPath( pathReference: string, text: string, parent: SVGElement, opts?: TextPathDrawingOpts, textQueryOrExisting?: string | SVGTextElement, pathQueryOrExisting?: string | SVGTextPathElement,): SVGTextPathElement Parameters
- pathReference: string
- text: string
- parent: SVGElement
Optional
opts: TextPathDrawingOptsOptional
textQueryOrExisting: string | SVGTextElementOptional
pathQueryOrExisting: string | SVGTextPathElement
Returns SVGTextPathElement
Creates or reuses a SVGTextPathElement.