Paint.TextLocale Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the text's primary Locale. -or- Set the text locale list to a one-member list consisting of just the 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
Property Value
the paint's primary Locale used for drawing text, never null.
- Attributes
Remarks
Property getter documentation:
Get the text's primary Locale. Note that this is not all of the locale-related information Paint has. Use #getTextLocales()
to get the complete list.
Java documentation for android.graphics.Paint.getTextLocale()
.
Property setter documentation:
Set the text locale list to a one-member list consisting of just the locale.
See #setTextLocales(LocaleList)
for how the locale list affects the way the text is drawn for some languages.
Java documentation for android.graphics.Paint.setTextLocale(java.util.Locale)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.