FontInfo

data class FontInfo(var mainFamily: FontFamily? = null, var headingFamily: FontFamily? = null, var codeFamily: FontFamily? = null, var size: Size? = null)

Mutable 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)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var size: Size?