Paint.TextLocale 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得文本的主要地點。 -或- 將文字 locale 清單設為僅包含 locale 的單成員清單。
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
屬性值
畫作主要用於繪製文字的地點,從未是零。
- 屬性
備註
財產取得者文件:
取得文本的主要地點。 請注意,這並不是 Paint 擁有的所有地區相關資訊。 使用 #getTextLocales() 以取得完整清單。
Java 文件 android.graphics.Paint.getTextLocale()。
屬性設定文件:
將文字 locale 清單設為僅包含 locale 的單成員清單。
請參考 #setTextLocales(LocaleList) 某些語言的地點列表如何影響文字繪製方式。
Java 文件 android.graphics.Paint.setTextLocale(java.util.Locale)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。