offsetBy(dx:dy:)
Returns a rectangle with an origin point that shifts by the specified amount.
Declaration
func offsetBy(dx: Double, dy: Double) -> MKMapRectParameters
- dx:
The amount (in map points) to shift the x-coordinate of the origin point.
- dy:
The amount (in map points) to shift the x-coordinate of the origin point.
Return Value
The offset rectangle. If the original rectangle is null, that rectangle returns instead.