Udostępnij za pośrednictwem


TextAppearanceInfo.TextStyle Property

Definition

Returns the style (normal, bold, italic, bold|italic) of the text.

public Android.Graphics.TypefaceStyle TextStyle { [Android.Runtime.Register("getTextStyle", "()I", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getTextStyle", "()I", "", ApiSince=34)>]
member this.TextStyle : Android.Graphics.TypefaceStyle

Property Value

Attributes

Remarks

Returns the style (normal, bold, italic, bold|italic) of the text. Returns Typeface#NORMAL when no Typeface is specified.

Java documentation for android.view.inputmethod.TextAppearanceInfo.getTextStyle().

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.

Applies to