Canvas Tutorials

Canvas Methods and Properties

HTML canvas shadowBlur Property

HTML canvas shadowBlur Property



The shadowBlur property sets or returns the blur level for shadows. We have to use the shadowBlur property and the shadowColor property together to create a shadow.




Its syntax is:- context.shadowBlur = value;


Further Explanation:-



Value Description
number The blur level for the shadow

Code Explanation

All Tutorials related to Canvas Methods and Properties

All Sections related to Canvas