Fork me on GitHub
View source

package com.haxepunk.graphics

typedef BitmapTextOptions

defined in com.haxepunk.graphics.BitmapText;

Text option including the font, size, color, font format...

Properties

optional align : 

Optional. The aligment of the text. Default value is left.

optional color : Int

Optional. The color of the text. Default value is white.

optional extraParams : 

optional filters : 

Optional. Any Bitmap Filters To Alter Text Style

optional font : 

Optional. The font to use. Default value is com.haxepunk.HXP.defaultFont.

optional format : 

optional leading : Int

Optional. Vertical space between lines. Default value is 0.

optional resizable : Bool

Optional. If the text field can automatically resize if its contents grow. Default value is true.

optional richText : Bool

Optional. If the text field uses a rich text string.

optional size : Int

Optional. The font size. Default value is 16.

optional wordWrap : Bool

Optional. Automatic word wrapping. Default value is false.