NOCircleSelector
NOCircleSelector copied to clipboard
how to improve the display effect of circle
as the draw circle, if radius of the circle is too small. It seems the circle's edge is not round. is there a way draw a small circle, that looks good like a png file made by photoshop?
I'm not sure what is "too small" and what is "not round". If you provide a screenshot or more details (like the value) it would be easier to help. However I think that I know the problem here. The solution: Just leave dotRadius > 0. Eg:
[self.circleSelector setFrame:CGRectMake(150, 150, 10, 10)];
[self.circleSelector setDotRadius:1.f];
The output:
Hope that helps.
Also, if you use this library just to draw such a small circle it's kinda too big implementation for such small feature. If so, use other library or write own UIView
subclass and use CGContextAddEllipseInRect
function :).
sorry for my poor english, what I mean is the circle graphics have a jagged edge if the radius is small, but if made a same circle by photoshop, seem much better. here is my screenshot!
The NOCircleSelector
is the white border with red inside? Only grey overlay looks bad. How did you do that grey colour?