pl.wendigo.chrome.api.css / FontFace

FontFace

data class FontFace (source)

Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions

Link
CSS#FontFace type documentation.

Constructors

<init>

FontFace(fontFamily: String, fontStyle: String, fontVariant: String, fontWeight: String, fontStretch: String, unicodeRange: String, src: String, platformFontFamily: String)

Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions

Properties

fontFamily

val fontFamily: String

The font-family.

fontStretch

val fontStretch: String

The font-stretch.

fontStyle

val fontStyle: String

The font-style.

fontVariant

val fontVariant: String

The font-variant.

fontWeight

val fontWeight: String

The font-weight.

platformFontFamily

val platformFontFamily: String

The resolved platform font family

src

val src: String

The src.

unicodeRange

val unicodeRange: String

The unicode-range.