Draw a circle and save to UIImage

How to draw a filled circle with kernel graphics and return it as a UIImage?

I want to do something like the following:

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

+3
source share

Source: https://habr.com/ru/post/1789782/


All Articles