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)

function destroy():Void

Clean up memory.

function draw():Void

Called by game loop, updates then blits or renders current frame of animation to the screen

function isSimpleRender():Bool

function kill():Void

function pixelsOverlapPoint(point:FlxPoint, ?Mask:Int = 255, ?Camera:FlxCamera = null):Bool

function revive():Void

function stamp(Brush:FlxSprite, ?X:Int = 0, ?Y:Int = 0):Void