The font style (bold, italic, ect).

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.

Static variables

staticread onlyDefault:FontStyle

The default style.