The FontStyle class provides values for the TextRenderer class.

Variables

@:enum@:implinlineread onlyBOLD:FontStyle

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

@:enum@:implinlineread onlyBOLD_ITALIC:FontStyle

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

@:enum@:implinlineread onlyITALIC:FontStyle

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

@:enum@:implinlineread onlyREGULAR:FontStyle

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