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
| 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/index.ts:490 |
id | readonly | string | Unique identifier for this element, derived from the owning text element's id. | svg/src/index.ts:488 |