Contents

VNNormalizedRectIsIdentityRect(_:)

Returns a Boolean value that indicates whether the rectangle has an origin of zero and unit length and width.

Declaration

func VNNormalizedRectIsIdentityRect(_ normalizedRect: CGRect) -> Bool

Parameters

  • normalizedRect:

    Normalized input rect to test for identity.

Return Value

true if the rectangle is the identity rectangle, otherwise false.

See Also

Coordinate conversion