🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

FontFamily

Describes the family of the font.

Source set: Android
public class FontFamily(public val family: String)

Describes the family of the font. Defaults are provided, but it is also possible to supply a custom family. If this is found on the system it will be used, otherwise it will fallback to a system default.

Functions

toString

Source set: Android
override fun toString(): String

Members

Companion

Source set: Android
public companion object

Properties

Serif

Source set: Android
public val Serif: FontFamily = FontFamily("serif")

The formal text style for scripts.

SansSerif

Source set: Android
public val SansSerif: FontFamily = FontFamily("sans-serif")

Font family with low contrast and plain stroke endings.

Monospace

Source set: Android
public val Monospace: FontFamily = FontFamily("monospace")

Font family where glyphs have the same fixed width.

Cursive

Source set: Android
public val Cursive: FontFamily = FontFamily("cursive")

Cursive, hand-written like font family.