Text.setStyle

Set the text's style.

You can pass a combination of one or more styles, for example Style.Bold | Text.Italic.

More...
class Text
deprecated
void
setStyle

Parameters

newStyle Style

New style

Detailed Description

Deprecated: Use the 'style' property instead.

Meta