Language

CursorAnchorInfo.Builder.AddVisibleLineBounds Method

Definition

Add the bounds of a visible text line of the current editor.

[Android.Runtime.Register("addVisibleLineBounds", "(FFFF)Landroid/view/inputmethod/CursorAnchorInfo$Builder;", "", ApiSince=34)]
public Android.Views.InputMethods.CursorAnchorInfo.Builder AddVisibleLineBounds(float left, float top, float right, float bottom);
[<Android.Runtime.Register("addVisibleLineBounds", "(FFFF)Landroid/view/inputmethod/CursorAnchorInfo$Builder;", "", ApiSince=34)>]
member this.AddVisibleLineBounds : single * single * single * single -> Android.Views.InputMethods.CursorAnchorInfo.Builder

Parameters

left
Single

the left bound of the left-most character in the line

top
Single

the top bound of the top-most character in the line

right
Single

the right bound of the right-most character in the line

bottom
Single

the bottom bound of the bottom-most character in the line

Returns

Attributes

Remarks

Add the bounds of a visible text line of the current editor. The line bounds should not include the vertical space between lines or the horizontal space before and after a line. It's preferable if the line bounds are added in the logical order, so that IME can process them easily.

Android reference for android.view.inputmethod.CursorAnchorInfo.Builder.addVisibleLineBounds.

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