Constructor

new(?fontColor:FlxColor, ?bold:Bool, ?italic:Bool, ?borderColor:FlxColor, ?underline:Bool)

Parameters:

fontColor

Font color, in 0xRRGGBB format. Inherits from the default format by default.

bold

Whether the text should be bold (must be supported by the font). false by default.

italic

Whether the text should be in italics (must be supported by the font). Only works on Flash. false by default.

borderColor

Border color, in 0xAARRGGBB format. By default, no border (null / transparent).

underline

Whether the text should be underlined. false by default.

Variables

leading:Int

The leading (vertical space between lines) of the text.

Available since

4.10.0

.