class openfl.gui.TextControl extends Control
Available on all platforms
Instance Fields
function new(value:String, ?font:String = 'Arial', ?fontStyle:FontStyle = null, ?embedded:Bool = false):Void
Create a TextControl representing an unselectable TextField.
value | The default value of the control. |
font | The embedded asset or name of the font to use. |
fontStyle | The style of the font, including size, color and underline. |
embedded | Whether to use embedded resources or device fonts. |