SelectRangeGesture.Builder.SetSelectionStartArea(RectF) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set rectangular single/multiline start of text selection area intersecting with text.
[Android.Runtime.Register("setSelectionStartArea", "(Landroid/graphics/RectF;)Landroid/view/inputmethod/SelectRangeGesture$Builder;", "", ApiSince=34)]
public Android.Views.InputMethods.SelectRangeGesture.Builder SetSelectionStartArea(Android.Graphics.RectF startArea);
[<Android.Runtime.Register("setSelectionStartArea", "(Landroid/graphics/RectF;)Landroid/view/inputmethod/SelectRangeGesture$Builder;", "", ApiSince=34)>]
member this.SetSelectionStartArea : Android.Graphics.RectF -> Android.Views.InputMethods.SelectRangeGesture.Builder
Parameters
- startArea
- RectF
RectF (in screen coordinates) for start of selection. This rectangle belongs to first line where selection should start. This value cannot be null.
Returns
- Attributes
Remarks
Set rectangular single/multiline start of text selection area intersecting with text. The resulting selection 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 setSelectionEndArea(RectF). 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.setSelectionStartArea.
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.