Source set: Android
public class FontStyle private constructor(@get:RestrictTo(LIBRARY_GROUP) public val style: Int)
Describes the style of the font: Normal] or Italic.
Functions
toString
Source set: Android
override fun toString(): String
Members
Companion
Source set: Android
public companion object
Properties
Normal
Source set: Android
public val Normal: FontStyle = FontStyle(0)
Use the upright glyphs
Italic
Source set: Android
public val Italic: FontStyle = FontStyle(1)
Use glyphs designed for slanting
Functions
values
Source set: Android
public fun values(): List<FontStyle>
Returns a list of possible values of FontStyle.