HTML5 Canvas, shadowColor & shadowBlur

后端 未结 3 1705
抹茶落季
抹茶落季 2021-01-19 14:52

My question is regarding this shadowBlur feature used on the 2nd (outer) rectangle below. The shadowBlur feature is applied to every shape after this rectangle. (If

3条回答
  •  生来不讨喜
    2021-01-19 15:20

    You can also consider setting the shadow color to "transparent" instead of undefined or null. This also seems to do the trick.

提交回复
热议问题