class flixel.text.FlxTextField extends FlxText
Available on all platforms
Extends FlxText for better support rendering text on cpp target. * Doesn't have multicamera support. * Displays over all other objects.
Instance Fields
function new(X:Float, Y:Float, Width:Int, ?Text:String = null, ?Size:Int = 8, ?EmbeddedFont:Bool = true, ?Camera:FlxCamera = null):Void
Creates a new FlxText object at the specified position. *
X | The X position of the text. * |
Y | The Y position of the text. * |
Width | The width of the text object (height is determined automatically). * |
Text | The actual text you would like to display initially. * |
EmbeddedFont | Whether this text field uses embedded fonts or not * |
Camera | Camera to display. FlxG.camera is used by default (if you pass null) |