2011-02-03 121 views
3

如何繪製帶核心圖形的實心圓並將其作爲UIImage返回?繪製圓圈並存儲在UIImage中

我想要做的東西像下面這樣:

+ (UIImage*) circleImageWithRadius:(CGFloat)radius fillColor:(UIColor*)clr;

回答