How to draw a drop-shadow on a transparent rectangle?

后端 未结 4 1758
没有蜡笔的小新
没有蜡笔的小新 2021-01-06 07:55

When I add a dropshadow bitmap effect to a rectangle, the dropshadow takes into account the transparency of the rectangle (makes sense). Is there a way to render a dropshado

4条回答
  •  醉梦人生
    2021-01-06 08:21

    wrap the rectangle in a border. and add a shadow to the border. you'll get the same effect.

提交回复
热议问题