FontInfo
data class FontInfo(val mainFamily: FontFamily? = null, val headingFamily: FontFamily? = null, val codeFamily: FontFamily? = null, val size: Size? = null)
Immutable information about the global font configuration of a document. When any of the fields is null
, the default value supplied by the underlying renderer is used.
Parameters
mainFamily
font family of generic content
headingFamily
font family of headings
codeFamily
font family of code blocks and code spans
size
font size of generic content. Other elements will scale accordingly
Constructors
Link copied to clipboard
constructor(mainFamily: FontFamily? = null, headingFamily: FontFamily? = null, codeFamily: FontFamily? = null, size: Size? = null)