I have a quick question.
I am trying to draw a shape on a picture and be able to cut what is in the circle. Any ideas how I would go about doing that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to use core graphics for that. Create a mask with
CGImageMaskCreate, and then useCGImageCreateWithMaskto combine mask with the image.Source and example: How to Mask an Image