开发者

iOS 4 create pie chart from 1 UIView and background image

开发者 https://www.devze.com 2023-04-11 12:49 出处:网络
I know that UIViews may transforms have applied to them , some of which change the shape of the underlying layer.

I know that UIViews may transforms have applied to them , some of which change the shape of the underlying layer.

Here's wh开发者_高级运维at I want to do: Create one circular UIView, superimpose it on a different color background and cut a section from the UIView's middle over to it's edge, in an arc.

Is this possible with iOS?


This dude made an awesome class for drawing pie charts:

http://code.google.com/p/chartreuse/downloads/detail?name=chartreuse-v1.0.zip&can=2&q=

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号