The font style (bold, italic, ect).

Static variables

@:value(new FontStyle(false, false, false))staticread onlyDefault:FontStyle = new FontStyle(false, false, false)

The default style.

Constructor

new(bold:Bool, italic:Bool, underlined:Bool)

Initialize a new font style.

@param underlined If the font is underlined, default = false.

Parameters:

bold

If the font is bold, default = false.

italic

If the font is italic, default = false. *

Methods

getBold():Bool

Returns true if the font is bold.

getItalic():Bool

Returns true if the font is italic.

getUnderlined():Bool

Returns true if the font is underlined.