font

abstract infix fun font(font: Key): Styler

Sets the font for the text.

Return

this Styler instance for chaining

Parameters

font

the font key to apply


open infix fun font(font: String): Styler

Sets the font for the text using a font key string.

Return

this Styler instance for chaining

Parameters

font

the font key as a string