Drop Shadow in DrawRect

浪尽此生 提交于 2019-12-08 05:38:42

问题


I made this cool pie chart and now I'd like to drop a shadow under it. Is there anyway I can do it with DrawRect ?

I'd like to do it right under the pie chart (drawn using DrawRect). Suggestions are welcome


回答1:


Have a look at BNPiechart here - http://bynomial.com/blog/?p=104 . The code is open source.You can use it directly.If you do not want to use the library, you can refer the code for creating the shadow.



来源:https://stackoverflow.com/questions/9367727/drop-shadow-in-drawrect

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!