Anyone know? I found a few answers, but there were too complex and going too deep. I need a simple answer.
Share
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.
If the
masksToBoundsproperty is set to YES, any sublayers of the layer that extend outside its boundaries will be clipped to those boundaries. Think of the layer, in that case, as a window onto its sublayers; anything outside the edges of the window will not be visible. WhenmasksToBoundsis NO, no clipping occurs, and any sublayers that extend outside the layer’s boundaries will be visible in their entirety (as long as they don’t go outside the edges of any superlayer that does have masking enabled).