addFont

fun addFont(font: Font): Font

Adds a font to the pack.

Return

The added font.

Parameters

font

The font.


inline fun addFont(block: Font.() -> Unit): Font

Adds a font to the pack.

Return

The added font.

Parameters

block

The font block.