Lingua

DeleteRangeGesture.Builder.SetDeletionStartArea(RectF) Method

Definition

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

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

Parameters

startArea
RectF

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

Returns

Attributes

Remarks

Set rectangular single/multiline start of text deletion area intersecting with text. The resulting deletion is performed from the start of first word/character in the start rectangle to the end of the last word/character in the end rectangle setDeletionEndArea(RectF). 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.setDeletionStartArea.

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