data class FontFace
Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions and additional information such as platformFontFamily and fontVariationAxes.
<init> |
Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions and additional information such as platformFontFamily and fontVariationAxes. FontFace(fontFamily: String, fontStyle: String, fontVariant: String, fontWeight: String, fontStretch: String, unicodeRange: String, src: String, platformFontFamily: String, fontVariationAxes: List<FontVariationAxis>? = null) |
fontFamily |
The font-family. val fontFamily: String |
fontStretch |
The font-stretch. val fontStretch: String |
fontStyle |
The font-style. val fontStyle: String |
fontVariant |
The font-variant. val fontVariant: String |
fontVariationAxes |
Available variation settings (a.k.a. "axes"). val fontVariationAxes: List<FontVariationAxis>? |
fontWeight |
The font-weight. val fontWeight: String |
platformFontFamily |
The resolved platform font family val platformFontFamily: String |
src |
The src. val src: String |
unicodeRange |
The unicode-range. val unicodeRange: String |