The FontStyle class provides values for the TextRenderer class.

Variables

@:value(cast "bold")@:enum@:implinlineread onlyBOLD:FontStyle = "bold"

Defines the bold style of a font for the fontStyle parameter in the setAdvancedAntiAliasingTable() method. Use the syntax FontStyle.BOLD.

@:value(cast "boldItalic")@:enum@:implinlineread onlyBOLD_ITALIC:FontStyle = "boldItalic"

Defines the italic style of a font for the fontStyle parameter in the setAdvancedAntiAliasingTable() method. Use the syntax FontStyle.ITALIC.

@:value(cast "italic")@:enum@:implinlineread onlyITALIC:FontStyle = "italic"

Defines the italic style of a font for the fontStyle parameter in the setAdvancedAntiAliasingTable() method. Use the syntax FontStyle.ITALIC.

@:value(cast "regular")@:enum@:implinlineread onlyREGULAR:FontStyle = "regular"

Defines the plain style of a font for the fontStyle parameter in the setAdvancedAntiAliasingTable() method. Use the syntax FontStyle.REGULAR.