Scratch for Java

Text::getCurrentFontIndex()

Get the index of the current font.

Syntax

Java

.getCurrentFontIndex()

Scratch

fontnumber

Return

int

getCurrentFontIndex()