FontFamily

class FontFamily


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.

Summary

Public companion properties

FontFamily

Cursive, hand-written like font family.

FontFamily

Font family where glyphs have the same fixed width.

FontFamily

Font family with low contrast and plain stroke endings.

FontFamily

The formal text style for scripts.

Public constructors

FontFamily(family: String)

Public functions

open String

Public properties

String

Public companion properties

Cursive

Added in 1.0.0
val CursiveFontFamily

Cursive, hand-written like font family.

Monospace

Added in 1.0.0
val MonospaceFontFamily

Font family where glyphs have the same fixed width.

SansSerif

Added in 1.0.0
val SansSerifFontFamily

Font family with low contrast and plain stroke endings.

Serif

Added in 1.0.0
val SerifFontFamily

The formal text style for scripts.

Public constructors

FontFamily

Added in 1.0.0
FontFamily(family: String)

Public functions

toString

open fun toString(): String

Public properties

family

Added in 1.0.0
val familyString