Contents

NSIsEmptyRect(_:)

Returns a Boolean value that indicates whether a given rectangle is empty.

Declaration

func NSIsEmptyRect(_ aRect: NSRect) -> Bool

Return Value

true if aRect encloses no area at all—that is, if its width or height is 0 or negative, otherwise false.

See Also

Managing Rectangles