Udostępnij za pośrednictwem


DisplayCutout.BoundingRectTop Property

Definition

Returns a bounding rectangle for a non-functional area on the display which is located on the top of the screen.

public Android.Graphics.Rect BoundingRectTop { [Android.Runtime.Register("getBoundingRectTop", "()Landroid/graphics/Rect;", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getBoundingRectTop", "()Landroid/graphics/Rect;", "", ApiSince=29)>]
member this.BoundingRectTop : Android.Graphics.Rect

Property Value

bounding rectangle in pixels. In case of no bounding rectangle, an empty rectangle is returned.

Attributes

Remarks

Returns a bounding rectangle for a non-functional area on the display which is located on the top of the screen.

Java documentation for android.view.DisplayCutout.getBoundingRectTop().

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