Gets a rectangle that defines the portion of the texture used to render its image.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
A rectangle in the unit coordinate space.
The default value is a rectangle that covers the entire texture
(1,1). You cannot set this value directly; to use only a portion of a texture, use the
init(rect: method to create a new texture.