Język

DisplayCutout.Builder.SetBoundingRectTop(Rect) Method

Definition

Set a bounding rectangle for a non-functional area on the display which is located on the top of the screen. If not set, the default value is an empty rectangle.

[Android.Runtime.Register("setBoundingRectTop", "(Landroid/graphics/Rect;)Landroid/view/DisplayCutout$Builder;", "", ApiSince=33)]
public Android.Views.DisplayCutout.Builder SetBoundingRectTop(Android.Graphics.Rect boundingRectTop);
[<Android.Runtime.Register("setBoundingRectTop", "(Landroid/graphics/Rect;)Landroid/view/DisplayCutout$Builder;", "", ApiSince=33)>]
member this.SetBoundingRectTop : Android.Graphics.Rect -> Android.Views.DisplayCutout.Builder

Parameters

boundingRectTop
Rect

The Android.Graphics.Rect value used for bounding rect top.

Returns

The result of the set bounding rect top operation.

Attributes

Remarks

For details, see the Android reference documentation for android.view.DisplayCutout.Builder.setBoundingRectTop.

Java documentation for android.view.DisplayCutout.Builder.setBoundingRectTop.

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