Class

FontStyle

Defines whether the font is Italic or Normal.

Source set: 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

Source set: Common
val Normal = FontStyle(0)

Use the upright glyphs

Source set: Common
val Italic = FontStyle(1)

Use glyphs designed for slanting

Methods

Source set: Common
fun values(): List<FontStyle>

Returns a list of possible values of FontStyle.

Last updated: