The FontStyle class provides values for the TextRenderer class.

## Index

### Enumeration members

- BOLD
- BOLD_ITALIC
- ITALIC
- REGULAR

## Enumeration members

### BOLD

BOLD: = "bold"

- Defined in lib/openfl/text/FontStyle.d.ts:13

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

### BOLD_ITALIC

BOLD_ITALIC: = "boldItalic"

- Defined in lib/openfl/text/FontStyle.d.ts:20

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

### ITALIC

ITALIC: = "italic"

- Defined in lib/openfl/text/FontStyle.d.ts:27

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

### REGULAR

REGULAR: = "regular"

- Defined in lib/openfl/text/FontStyle.d.ts:34

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

Generated using TypeDoc