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 -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -