new ()
align:String
read onlyfont:Font
fontName:String
fontSize:Int
read onlyheight:Float = 0
lineSpacing:Int
lineWidth:Int
text:String
read onlywidth:Float = 0
init (text:String, fontName:String, fontSize:Int, align:String = "left"):Void
staticinline create (text:String, fontName:String, fontSize:Int, align:String = "left"):TextComponent
staticinline getPool ():Pool<TextComponent>
alpha:Float
color:Color = Color.White
read onlyisVisible:Bool
localAlpha:Float
visible:Bool = true
read only__typeName__:String
read only__type__:Class<Component>
entity:Entity
name:String
onAddedToEntity:Event<Entity ‑> Void>
onRemovedFromEntity:Event<Entity ‑> Void>
read onlyid:Int = Gecko.getUniqueID()
read onlyisAlreadyDestroyed:Bool = false
generateTexture (?g:Graphics):Texture
postDraw (g:Graphics):Void
preDraw (g:Graphics):Void
update (dt:Float):Void
inline toString ():String