語言

HandwritingGesture.GranularityCharacter 欄位

定義

警告

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

以每字元文字計算。

[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

欄位值

Value = 2
屬性

備註

以每字元文字計算。 也就是說,每個字元都是根據與選取矩形的交集來選擇的。

UI 工具包中維持了細緻操作的策略。 若字元/單字/行位於手勢矩形內,則該字元/單字/行名被包含。 例如,若 RectF 選取區 #GRANULARITY_CHARACTER 包含字元寬度中心,則應選擇該區。 同樣地,若矩形包含線高中心,該行中的文字也應包含在操作中。

Java 文件 android.view.inputmethod.HandwritingGesture.GRANULARITY_CHARACTER。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於