Documentation / @ripl/canvas / applyCanvasStroke
Function: applyCanvasStroke()
applyCanvasStroke(
ctx,element):void
Defined in: canvas/src/helpers.ts:235
Strokes a canvas path or text element, dispatching text-along-path when applicable.
Parameters
| Parameter | Type |
|---|---|
ctx | CanvasRenderingContext2D |
element | ContextText | CanvasPath |
Returns
void