Google is committed to advancing racial equity for Black communities. See how.

FontStyle

enum class FontStyle
kotlin.Any
   ↳ kotlin.Enum<androidx.compose.ui.text.font.FontStyle>
   ↳ androidx.compose.ui.text.font.FontStyle

Defines whether the font is Italic or Normal.

Summary

Enum values

Use glyphs designed for slanting

Use the upright glyphs

Enum values

Italic

enum val Italic : FontStyle

Use glyphs designed for slanting

Normal

enum val Normal : FontStyle

Use the upright glyphs