Language

SelectRangeGesture.Builder.SetSelectionEndArea(RectF) Method

Definition

Set rectangular single/multiline end of text selection area intersecting with text.

[Android.Runtime.Register("setSelectionEndArea", "(Landroid/graphics/RectF;)Landroid/view/inputmethod/SelectRangeGesture$Builder;", "", ApiSince=34)]
public Android.Views.InputMethods.SelectRangeGesture.Builder SetSelectionEndArea(Android.Graphics.RectF endArea);
[<Android.Runtime.Register("setSelectionEndArea", "(Landroid/graphics/RectF;)Landroid/view/inputmethod/SelectRangeGesture$Builder;", "", ApiSince=34)>]
member this.SetSelectionEndArea : Android.Graphics.RectF -> Android.Views.InputMethods.SelectRangeGesture.Builder

Parameters

endArea
RectF

RectF (in screen coordinates) for start of selection. This rectangle belongs to the last line where selection should end. This value cannot be null.

Returns

Attributes

Remarks

Set rectangular single/multiline end of text selection area intersecting with text. The resulting selection is performed from the start of first word/character in the start rectangle setSelectionStartArea(RectF) to the end of the last word/character in the end rectangle. The selection includes the first word/character in the rectangle, the last word/character in the rectangle, and everything in between even if it's not in the rectangle. Intersection is determined using setGranularity(int). e.g. HandwritingGesture.GRANULARITY_WORD includes all the words with their width/height center included in the selection rectangle.

Android reference for android.view.inputmethod.SelectRangeGesture.Builder.setSelectionEndArea.

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