I have center points and radius of circle, I just wanna get all CGPoint
that the area of the circle covers. Basically I need to get all pixels through these CGPoint
, I have a code for getting pixel from UIImage through CGPoint
. I'm getting center points of circle through UITapGestureRecognizer
when user tap. And I already know about radius of circle.
Can anyone tell me how I can get all CGPoint
or pixels from circle. Thanks
For Example Origin of below circle is CGPoint(x: 206, y: 105), and diameter of a circle is 50.
Another Example How I can get these all CGPoints