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