How can one add drop shadows to Raphael.js objects?

后端 未结 5 619
轻奢々
轻奢々 2020-12-15 20:49

I would like to find out how to add blurry edged drop shadows to Raphael.js objects/paths. As far as I know it is not possible with the library as is but is there a work aro

5条回答
  •  独厮守ぢ
    2020-12-15 21:18

    You can use a glow to add shadows.

    .glow({ color: '#900', width:10, offsetx:5 }) // random example...

    check out the documentation

提交回复
热议问题