共用方式為


HandwritingGesture.GranularityWord 欄位

定義

警告

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

每字操作文字基礎。

[Android.Runtime.Register("GRANULARITY_WORD", 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 GranularityWord = 1;
[<Android.Runtime.Register("GRANULARITY_WORD", 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 GranularityWord : Android.Views.InputMethods.HandwritingGestureGranularity

欄位值

Value = 1
屬性

備註

每字操作文字基礎。 例如,如果選取範圍包含文字的寬度中心,則會選取整字。

在UI工具組中會維護以細微層級操作的策略。 如果字元/文字/線條的中心位於手勢矩形內,則會包含字元/單行。 例如,如果選取 RectF 範圍包含 #GRANULARITY_WORD 文字的寬度中心,則應該選取它。 同樣地,如果矩形包含線條高度置中,則行中的文字應該包含在作業中。

如需 https://www.unicode.org/reports/tr29/#Word_Boundaries 如何決定斷詞方式的詳細資訊,請參閱 。

android.view.inputmethod.HandwritingGesture.GRANULARITY_WORDJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於