Returns a rectangle with an origin that is offset from that of the source rectangle.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
The source rectangle.
The offset value for the x-coordinate.
The offset value for the y-coordinate.
A rectangle that is the same size as the source, but with its origin offset by
dx units along the x-axis and
dy units along the y-axis with respect to the source. Returns a null rectangle if
rect is a null rectangle.