A Label component for displaying a single line of text.
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float, ?text:String)
Constructor
Parameters:
parent | The parent DisplayObjectContainer on which to add this Label. |
---|---|
xpos | The x position to place this component. |
ypos | The y position to place this component. |
text | The string to use as the initial text in this component. |
Variables
read onlytextField:TextField
Gets the internal TextField of the label if you need to do further customization of it.