Compartir a través de


Region.Bounds Property

Definition

Return a new Rect set to the bounds of the region.

public virtual Android.Graphics.Rect Bounds { [Android.Runtime.Register("getBounds", "()Landroid/graphics/Rect;", "GetGetBoundsHandler")] get; }
[<get: Android.Runtime.Register("getBounds", "()Landroid/graphics/Rect;", "GetGetBoundsHandler")>]
member this.Bounds : Android.Graphics.Rect

Property Value

Attributes

Remarks

Return a new Rect set to the bounds of the region. If the region is empty, the Rect will be set to [0, 0, 0, 0]

Java documentation for android.graphics.Region.getBounds().

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