style

open fun style(style: Style): Styler

Applies the given style to the text.

Return

this Styler instance for chaining

Parameters

style

the style to apply


open fun style(component: Component): Styler

Applies the style from the given component to the text.

Return

this Styler instance for chaining

Parameters

component

the component to get the style from