Fork me on GitHub
View source

package haxepunk.graphics.text

typedef BitmapTextOptions

defined in haxepunk.graphics.text.BitmapText;

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

Properties

optional align : 

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

optional border : 

Optional. If the text should draw a border.

optional color : Color

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 haxepunk.HXP.defaultFont.

optional format : BitmapFontFormat

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.