normalise

open fun normalise(@NonNull rect: Rect): Rect

Normalise a Rect such that the first point is the bottom left and the second point is the top right.

Return

the normalised Rect

Parameters

rect

the Rect to normalise