FontStyle

Class

Common
value class FontStyle
@Deprecated(
    "Please use FontStyle.Normal or FontStyle.Italic",
    replaceWith = ReplaceWith("FontStyle."),
)
constructor(val value: Int)

Defines whether the font is Italic or Normal.

Companion Object

Properties

Common
val Normal = FontStyle(0)

Use the upright glyphs

Common
val Italic = FontStyle(1)

Use glyphs designed for slanting

Methods

Common
fun values(): List<FontStyle>

Returns a list of possible values of FontStyle.