of

Creates a new instance of Text with the given text.

Return

a new instance of Text with the given text.

Parameters

text

the text to create the Text instance with.