The FontStyle class provides values for the TextRenderer class.

Variables

@:value(cast 0)@:enum@:implinlineread onlyBOLD:FontStyle = 0

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

@:value(cast 1)@:enum@:implinlineread onlyBOLD_ITALIC:FontStyle = 1

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

@:value(cast 2)@:enum@:implinlineread onlyITALIC:FontStyle = 2

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

@:value(cast 3)@:enum@:implinlineread onlyREGULAR:FontStyle = 3

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