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 ​
| Parameter | Type |
|---|---|
textId | string |
pathId | string |
content | string |
startOffset? | number |
Returns ​
SVGTextPath
Properties ​
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
definition | public | SVGContextElementDefinition | The rendering definition describing this element's SVG <textPath> node. | svg/src/text.ts:64 |
id | readonly | string | Unique identifier for this element, derived from the owning text element's id. | svg/src/text.ts:62 |