I want to have a pop up that records where you have pain on your abdomen (much like myIDB app. So the popup has the image of the body and you tap on there. A red marker shows your selection and you cannot place a mark outside the body. How can I set a filter to not allow input outside an image section?
Asked
Active
Viewed 120 times
1
-
Any tips at all of where to even look for an answer? – SashaZ Feb 08 '16 at 22:57
1 Answers
0
I found an answer: Stackoverflow answer Where you get the alpha value of touch location. I will save the image with a transparent area outside where I want to touch and then its quite simple to determine if the area I want is touched.