Compartilhar via


HandwritingGesture.GranularityCharacter Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.InputMethods.HandwritingGestureGranularity enum directly instead of this field.

Operate on text per character basis.

[Android.Runtime.Register("GRANULARITY_CHARACTER", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputMethods.HandwritingGestureGranularity enum directly instead of this field.", true)]
public const Android.Views.InputMethods.HandwritingGestureGranularity GranularityCharacter = 2;
[<Android.Runtime.Register("GRANULARITY_CHARACTER", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputMethods.HandwritingGestureGranularity enum directly instead of this field.", true)>]
val mutable GranularityCharacter : Android.Views.InputMethods.HandwritingGestureGranularity

Field Value

Value = 2
Attributes

Remarks

Operate on text per character basis. i.e. each character is selected based on its intersection with selection rectangle.

Strategy of operating at a granular level is maintained in the UI toolkit. A character/word/line is included if its center is within the gesture rectangle. e.g. if a selection RectF with #GRANULARITY_CHARACTER includes width-wise center of the character, it should be selected. Similarly, text in a line should be included in the operation if rectangle includes line height center.

Java documentation for android.view.inputmethod.HandwritingGesture.GRANULARITY_CHARACTER.

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