setText

open override fun setText(text: String): TextBlock

Set the text to be displayed

The selected font must contains all on the text characters, missing characters will be displayed as blanks

Return

this

Parameters

text

the text to be displayed