package flash.text
extends InteractiveObject › DisplayObject › EventDispatcher
Available on flash
staticisFontCompatible(fontName:String, fontStyle:String):Boolnew()alwaysShowSelection:BoolantiAliasType:AntiAliasTypeautoSize:TextFieldAutoSizebackground:BoolbackgroundColor:UIntborder:BoolborderColor:UIntread onlybottomScrollV:Intread onlycaretIndex:IntcondenseWhite:BooldefaultTextFormat:TextFormatdisplayAsPassword:BoolembedFonts:BoolgridFitType:GridFitTypehtmlText:Stringread onlylength:IntmaxChars:Intread onlymaxScrollH:Intread onlymaxScrollV:IntmouseWheelEnabled:Boolmultiline:Boolread onlynumLines:Intrestrict:StringscrollH:IntscrollV:Intselectable:Boolread onlyselectedText:Stringread onlyselectionBeginIndex:Intread onlyselectionEndIndex:Intsharpness:FloatstyleSheet:StyleSheettext:StringtextColor:UIntread onlytextHeight:Floatread onlytextInteractionMode:TextInteractionModeread onlytextWidth:Floatthickness:Floattype:TextFieldTypeuseRichTextClipboard:BoolwordWrap:BoolappendText(newText:String):VoidcopyRichText():StringgetCharBoundaries(charIndex:Int):RectanglegetCharIndexAtPoint(x:Float, y:Float):IntgetFirstCharInParagraph(charIndex:Int):IntgetImageReference(id:String):DisplayObjectgetLineIndexAtPoint(x:Float, y:Float):IntgetLineIndexOfChar(charIndex:Int):IntgetLineLength(lineIndex:Int):IntgetLineMetrics(lineIndex:Int):TextLineMetricsgetLineOffset(lineIndex:Int):IntgetLineText(lineIndex:Int):StringgetParagraphLength(charIndex:Int):IntgetRawText():StringgetTextFormat(beginIndex:Int = -1, endIndex:Int = -1):TextFormatgetTextRuns(beginIndex:Int = 0, endIndex:Int = 2147483647):Array<Dynamic>getXMLText(beginIndex:Int = 0, endIndex:Int = 2147483647):StringinsertXMLText(beginIndex:Int, endIndex:Int, richText:String, pasting:Bool = false):VoidpasteRichText(richText:String):BoolreplaceSelectedText(value:String):VoidreplaceText(beginIndex:Int, endIndex:Int, newText:String):VoidsetSelection(beginIndex:Int, endIndex:Int):VoidsetTextFormat(format:TextFormat, beginIndex:Int = -1, endIndex:Int = -1):Void
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/text/TextField.html