Text::getFont() Syntax Java Return Text::getFont() Retrieves the name of the font. Syntax Java .getFont() Return String getFont()