javascript - how to make a shadow in HTML canvas -


i need draw canvas rect shadow has shadows on 4 sides of rect, similar div has style "box-shadow":"0px 0px 5px 5px"

try this

<div style="box-shadow: 0 0 5px 5px red; height: 40px; width:100px;">     test </div> 

Comments

Popular posts from this blog

How to run C# code using mono without Xamarin in Android? -

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -