Paint.TextLocale 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取文本的主要区域设置。 - 或 - 将文本区域设置列表设置为仅包含区域设置的一个成员列表。
public virtual Java.Util.Locale TextLocale { [Android.Runtime.Register("getTextLocale", "()Ljava/util/Locale;", "GetGetTextLocaleHandler")] get; [Android.Runtime.Register("setTextLocale", "(Ljava/util/Locale;)V", "GetSetTextLocale_Ljava_util_Locale_Handler")] set; }
[<get: Android.Runtime.Register("getTextLocale", "()Ljava/util/Locale;", "GetGetTextLocaleHandler")>]
[<set: Android.Runtime.Register("setTextLocale", "(Ljava/util/Locale;)V", "GetSetTextLocale_Ljava_util_Locale_Handler")>]
member this.TextLocale : Java.Util.Locale with get, set
属性值
用于绘制文本的主区域设置,从不为 null。
- 特性
注解
属性 getter 文档:
获取文本的主要区域设置。 请注意,这不是画图中所有区域设置相关信息。 用于 #getTextLocales() 获取完整列表。
Java文档android.graphics.Paint.getTextLocale()。
属性 setter 文档:
将文本区域设置列表设置为仅包含区域设置的一个成员列表。
请参阅 #setTextLocales(LocaleList) 区域设置列表如何影响某些语言的文本绘制方式。
Java文档android.graphics.Paint.setTextLocale(java.util.Locale)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。