Synchronize the shadow settings to the given Canvas Rendering Context.
name | type | description |
---|---|---|
context | CanvasRenderingContext2D |
The Canvas Rendering Context. |
enabled | boolean |
Whether shadows are enabled or not. |