The rectangle, in the unit coordinate space, that defines the portion of the layer’s contents that should be used. Animatable.
- iOS 2.0+
- macOS 10.5+
- tvOS 9.0+
- Core Animation
Defaults to the unit rectangle (0.0, 0.0, 1.0, 1.0).
If pixels outside the unit rectangle are requested, the edge pixels of the contents image will be extended outwards.
If an empty rectangle is provided, the results are undefined.