Contents

insetBy(dx:dy:)

Returns the specified rectangle with an inset by the specified amounts.

Declaration

func insetBy(dx: Double, dy: Double) -> MKMapRect

Parameters

  • dx:

    The amount (in map points) to subtract from both sides along the x-axis.

  • dy:

    The amount (in map points) to subtract from both sides along the x-axis.

Return Value

The inset rectangle. If the original rectangle was null, that rectangle is returned instead.

See Also

Modifying the rectangle