class flixel.text.FlxBitmapTextField extends FlxSprite
Available on all platforms
Extends FlxSprite to support rendering text. * Can tint, fade, rotate and scale just like a sprite. * Doesn't really animate though, as far as I know. * Also does nice pixel-perfect centering on pixel fonts * as long as they are only one liners.
Instance Fields
Sets the padding of the text field. This is the distance between the text and the border of the background (if any).
function new(?PxFont:PxBitmapFont = null):Void
Constructs a new text field component. *
PxFont | Optional parameter for component's font prop |