Documentation / @ripl/canvas / setCanvasStroke
Function: setCanvasStroke()
setCanvasStroke(
ctx,value,bounds):void
Defined in: canvas/src/helpers.ts:143
Sets the stroke style on a native canvas context, resolving gradient strings when applicable.
Parameters
| Parameter | Type |
|---|---|
ctx | CanvasRenderingContext2D |
value | string |
bounds | GradientBounds |
Returns
void