Documentation / @ripl/canvas / applyCanvasFill
Function: applyCanvasFill() ​
applyCanvasFill(
ctx,element,fillRule?):void
Defined in: canvas/src/utilities.ts:334
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