A rectangle (in the unit coordinate space) that specifies the portion of
contents that the receiver should draw. Animatable.
- iOS 5.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Core Animation
By default, this property is set to the unit rectangle (0.0,0.0,1.0,1.0), which results in all of the layer’s contents being drawn.
If pixels outside the unit rectangle are requested, the edge pixels of the contents image are extended outwards.
If you assign an empty rectangle to this property, the results are undefined.