package flash.text
extends InteractiveObject › DisplayObject › EventDispatcher
Available on flashnew ()
alwaysShowSelection:Bool
antiAliasType:AntiAliasType
autoSize:TextFieldAutoSize
background:Bool
backgroundColor:UInt
border:Bool
borderColor:UInt
read only bottomScrollV:Int
read only caretIndex:Int
condenseWhite:Bool
defaultTextFormat:TextFormat
displayAsPassword:Bool
embedFonts:Bool
gridFitType:GridFitType
htmlText:String
read only length:Int
maxChars:Int
read only maxScrollH:Int
read only maxScrollV:Int
mouseWheelEnabled:Bool
multiline:Bool
read only numLines:Int
restrict:String
scrollH:Int
scrollV:Int
selectable:Bool
read only selectedText:String
read only selectionBeginIndex:Int
read only selectionEndIndex:Int
sharpness:Float
styleSheet:StyleSheet
text:String
textColor:UInt
read only textHeight:Float
read only textInteractionMode:TextInteractionMode
read only textWidth:Float
thickness:Float
type:TextFieldType
useRichTextClipboard:Bool
wordWrap:Bool
appendText (newText:String):Void
copyRichText ():String
getCharBoundaries (charIndex:Int):Rectangle
getCharIndexAtPoint (x:Float, y:Float):Int
getFirstCharInParagraph (charIndex:Int):Int
getImageReference (id:String):DisplayObject
getLineIndexAtPoint (x:Float, y:Float):Int
getLineIndexOfChar (charIndex:Int):Int
getLineLength (lineIndex:Int):Int
getLineMetrics (lineIndex:Int):TextLineMetrics
getLineOffset (lineIndex:Int):Int
getLineText (lineIndex:Int):String
getParagraphLength (charIndex:Int):Int
getRawText ():String
getTextFormat (beginIndex:Int = -1, endIndex:Int = -1):TextFormat
getTextRuns (beginIndex:Int = 0, endIndex:Int = 2147483647):Array<Dynamic>
getXMLText (beginIndex:Int = 0, endIndex:Int = 2147483647):String
insertXMLText (beginIndex:Int, endIndex:Int, richText:String, pasting:Bool = false):Void
pasteRichText (richText:String):Bool
replaceSelectedText (value:String):Void
replaceText (beginIndex:Int, endIndex:Int, newText:String):Void
setSelection (beginIndex:Int, endIndex:Int):Void
setTextFormat (format:TextFormat, beginIndex:Int = -1, endIndex:Int = -1):Void
static isFontCompatible (fontName:String, fontStyle:String):Bool
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/text/TextField.html