Scratch for Java

Text::switchFont()

Switches the current font to the font with the specified name.

Syntax

Java

.switchFont(name)

Parameters

Name Data Type Description
name String the name of the font to switch to

Return

void

switchFont()