Returns a rectangle whose origin point is shifted by the specified amount.
- iOS 4.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.2+
- watchOS 2.0+
The original rectangle.
The amount (in map points) by which to shift the x-coordinate of the origin point.
The amount (in map points) by which to shift the y-coordinate of the origin point.
The offset rectangle. If the original rectangle was null, that rectangle is returned instead.