FontFamily

Class

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.

Companion Object

Properties

Android
public val Serif: FontFamily

The formal text style for scripts.

Android
public val SansSerif: FontFamily

Font family with low contrast and plain stroke endings.

Android
public val Monospace: FontFamily

Font family where glyphs have the same fixed width.

Android
public val Cursive: FontFamily

Cursive, hand-written like font family.