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
Post a Comment