Scratch for Java

Text::setFont()

Sets the font name for the text.

Syntax

Java

.setFont(name)

Parameters

Name Data Type Description
name String the name of the font to be set

Return

void

setFont()