Scratch for Java

Text::getCurrentFontName()

Get the name of the current font.

Syntax

Java

.getCurrentFontName()

Scratch

font [name v]

Return

String

getCurrentFontName()