core animation - Clipping a CALayer to arbitrary path -


Is it possible to have a CALayer clip for any unchecked path? I know that I can clip at the limit of the superlayer, but in this case I need to give maximum instructions.

TIA, Adam

The mask for the layer you want to clip Use CAShapeLayer as a path property that takes a CGPathRef.


Comments