Search code examples
iphoneobjective-cioscocoa-touchuitouch

Get all points enclosing UITouch


I am drawing a line using CGContext. I have set my line width as 35. Now when touches begin is called i am logging the touch point. But it gives only one point, I want all the points within the touch as my line width is 35. How to get all points within a touch ?


Solution

  • You can't do that. You get that one magical point per touch, that's it. You best bet is to take it as the center of the touch.