CGRectIsEmpty(_:)
Returns whether a rectangle has zero width or height, or is a null rectangle.
Declaration
func CGRectIsEmpty(_ rect: CGRect) -> BoolParameters
- rect:
The rectangle to examine.
Return Value
Discussion
An empty rectangle is either a null rectangle or a valid rectangle with zero height or width.