Freigeben über


Rect.Sort Method

Definition

Swap top/bottom or left/right if there are flipped (i.

[Android.Runtime.Register("sort", "()V", "")]
public void Sort ();
[<Android.Runtime.Register("sort", "()V", "")>]
member this.Sort : unit -> unit
Attributes

Remarks

Swap top/bottom or left/right if there are flipped (i.e. left > right and/or top > bottom). This can be called if the edges are computed separately, and may have crossed over each other. If the edges are already correct (i.e. left <= right and top <= bottom) then nothing is done.

Java documentation for android.graphics.Rect.sort().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to