Language

CapturedText.Builder.SetViewNodeBoundingBox(Rect) Method

Definition

Sets the rectangle occupied by the captured view.

[Android.Runtime.Register("setViewNodeBoundingBox", "(Landroid/graphics/Rect;)Landroid/app/personalcontext/hint/CapturedText$Builder;", "", ApiSince=37)]
public Android.App.PersonalContext.Hint.CapturedText.Builder SetViewNodeBoundingBox(Android.Graphics.Rect viewNodeBoundingBox);
[<Android.Runtime.Register("setViewNodeBoundingBox", "(Landroid/graphics/Rect;)Landroid/app/personalcontext/hint/CapturedText$Builder;", "", ApiSince=37)>]
member this.SetViewNodeBoundingBox : Android.Graphics.Rect -> Android.App.PersonalContext.Hint.CapturedText.Builder

Parameters

viewNodeBoundingBox
Rect

The captured view's bounds in screen coordinates, in pixels.

Returns

This builder with the view bounds recorded.

Attributes

Remarks

The bounds argument cannot be null.

Applies to