Documentation / @ripl/canvas / renderTextAlongPath
Function: renderTextAlongPath()
renderTextAlongPath(
ctx,element,method):void
Defined in: canvas/src/helpers.ts:191
Renders text character-by-character along a path using fill or stroke.
Parameters
| Parameter | Type |
|---|---|
ctx | CanvasRenderingContext2D |
element | ContextText |
method | "fill" | "stroke" |
Returns
void