Skip to content

CmText.of method

CmText › of

Unofficial

Create a text from an array of lines.

Signature:

of(text: readonly string[]): CmText

Parameters:

Parameter Type Description
text readonly string[] The lines to create the text from.

Returns: CmTextThe created text.