Language

DeleteRangeGesture.Builder.SetDeletionEndArea(RectF) Method

Definition

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

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

Parameters

endArea
RectF

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

Returns

Attributes

Remarks

Set rectangular single/multiline end of text deletion area intersecting with text. The resulting deletion is performed from the start of first word/character in the start rectangle setDeletionStartArea(RectF) to the end of the last word/character in the end rectangle. Intersection is determined using setGranularity(int). e.g. HandwritingGesture.GRANULARITY_WORD includes all the words with their width/height center included in the deletion rectangle.

Android reference for android.view.inputmethod.DeleteRangeGesture.Builder.setDeletionEndArea.

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