Instance Property

isEmpty

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

Declaration

var isEmpty: Bool { get }

Parameters

rect

The rectangle to test.

Return Value

true if the rectangle is null or its width or height are equal to 0; otherwise, false.

See Also

Comparing Rectangles

var isNull: Bool

Returns a Boolean indicating whether the specified rectangle is null.

func MKMapRectEqualToRect(MKMapRect, MKMapRect) -> Bool

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

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.