Scratch for Java

Text::switchFont()

Changes the text's font to the specified one.

Syntax

Java

.switchFont(name)

Scratch

switch font to [ v]

Parameters

Name Data Type Description
name String Name of the font.

Return

void

switchFont()