Instance Property

isNull

Returns a Boolean indicating whether the specified rectangle is null.

Declaration

var isNull: Bool { get }

Parameters

rect

The rectangle to test.

Return Value

true if the rectangle is null or false if it is not null.

Discussion

A rectangle is considered null if its origin point contains an invalid or infinite value.

See Also

Comparing Rectangles

func MKMapRectEqualToRect(MKMapRect, MKMapRect) -> Bool

Returns a Boolean value indicating whether the two map rectangles are equal

var isEmpty: Bool

Returns a Boolean value indicating whether the specified rectangle has no area.

var spans180thMeridian: Bool

Returns a Boolean value that indicates whether the specified map rectangle crosses the 180th meridian.

var remainder: MKMapRect

Normalizes the portion of the specified rectangle that lies outside the world map boundaries.