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 companion properties
Monospace
Added in 1.0.0
val Monospace: FontFamily
Font family where glyphs have the same fixed width.
SansSerif
Added in 1.0.0
val SansSerif: FontFamily
Font family with low contrast and plain stroke endings.