HandwritingGesture.GranularityWord 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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 資料。
Java 文件 android.view.inputmethod.HandwritingGesture.GRANULARITY_WORD。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。