Swift: Location on image filtering out certain parts of the image -


i want have pop records have pain on abdomen (much myidb app. popup has image of body , tap on there. red marker shows selection , cannot place mark outside body. how can set filter not allow input outside image section?

enter image description here

i found answer: stackoverflow answer alpha value of touch location. save image transparent area outside want touch , quite simple determine if area want touched.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

dataset - MPAndroidchart returning no chart Data available -

post - imageshack API cURL -