共用方式為


Rect.IsEmpty Property

Definition

Returns true if the rectangle is empty (left >= right or top >= bottom)

public bool IsEmpty { [Android.Runtime.Register("isEmpty", "()Z", "")] get; }
[<get: Android.Runtime.Register("isEmpty", "()Z", "")>]
member this.IsEmpty : bool

Property Value

Attributes

Remarks

Returns true if the rectangle is empty (left >= right or top >= bottom)

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

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