intersection(_:)
Returns the rectangle that represents the intersection of two rectangles.
Declaration
func intersection(_ rect2: MKMapRect) -> MKMapRectParameters
- rect2:
The second rectangle.
Return Value
The rectangle representing the intersection of the two rectangles, or null if there’s no intersection.