Google 致力于为黑人社区推动种族平等。查看具体举措

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

Inherited extension functions
From androidx.core.util
infix Range<T>
T.rangeTo(that: T)

Creates a range from this Comparable value to that.

Enum values

Italic

enum val Italic : FontStyle

Use glyphs designed for slanting

Normal

enum val Normal : FontStyle

Use the upright glyphs