{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

FontStyle


Defines whether the font is Italic or Normal.

See also
Font
FontFamily

Summary

Public companion functions

List<FontStyle>

Returns a list of possible values of FontStyle.

Cmn

Public companion properties

FontStyle

Use glyphs designed for slanting

Cmn
FontStyle

Use the upright glyphs

Cmn

Public constructors

FontStyle(value: Int)
Cmn

Public functions

open String
Cmn

Public properties

Int
Cmn

Public companion functions

values

fun values(): List<FontStyle>

Returns a list of possible values of FontStyle.

Public companion properties

Italic

val ItalicFontStyle

Use glyphs designed for slanting

Normal

val NormalFontStyle

Use the upright glyphs

Public constructors

FontStyle

FontStyle(value: Int)

Public functions

toString

open fun toString(): String

Public properties

value

val valueInt