Calculate uregular bounds of Drawpath

The helper function is undoubtedly useful especially for desktop apps, however, because the pointer position in iOS is reported as a point already, one simply needs to append it – sorry, addrow-it – to the the points array.

Not sure. As the OP requested, we can define the shapes and locations in his map of his zones defining the shapes and position, in code, as a list of vertices as ArrPoints( 5, 5, 25, 5, 10, 30 ) and later detecting if a Point is inside that virtual space/shape as he requested. Don’t know what iOS can help in that part of the shape definition in code.