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

python - Overwriting the save method of a Django model -

java - how to browse all messages from 2 different MQQueue in the same function? -

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