Scratch for Java

Text::setStyle()

Sets the style of the text.

Syntax

Java

.setStyle(style)

Parameters

Name Data Type Description
style TextStyle the TextStyle to be applied to the text

Return

void

setStyle()