Returns the specified rectangle inset by the specified amounts.
- iOS 4.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.2+
- watchOS 2.0+
The original rectangle.
The amount (in map points) to subtract from both sides along the x-axis.
The amount (in map points) to subtract from both sides along the y-axis.
The inset rectangle. If the original rectangle was null, that rectangle is returned instead.