class openfl.text.TextField extends InteractiveObject

Instance Fields

Show inherited public instance fieldsHide inherited public instance fields

Inherited from InteractiveObject

var doubleClickEnabled:Bool
var focusRect:Dynamic
var mouseEnabled:Bool
var needsSoftKeyboard:Bool
var softKeyboardInputAreaOfInterest:Rectangle
var tabEnabled:Bool
var tabIndex:Int
function requestSoftKeyboard():Bool

Inherited from DisplayObject

var __renderTransform:Matrix
var __worldColorTransform:ColorTransform
var __worldOffset:Point
var __worldTransform:Matrix
var alpha:Float
var blendMode:BlendMode
var cacheAsBitmap:Bool
var cacheAsBitmapBounds:Rectangle
var cacheAsBitmapMatrix:Matrix
var cacheAsBitmapSmooth:Bool
var filters:Array<BitmapFilter>
var height:Float
var loaderInfo:LoaderInfo
var mask:DisplayObject
var mouseX:Float
var mouseY:Float
var name:String
var opaqueBackground:Null<Int>
var parent:DisplayObjectContainer
var root:DisplayObject
var rotation:Float
var scale9Grid:Rectangle
var scaleX:Float
var scaleY:Float
var scrollRect:Rectangle
var shader:Shader
var stage:Stage
var transform:Transform
var visible:Bool
var width:Float
var x:Float
var y:Float
function __cacheGL(renderSession:RenderSession):Void
function __drawGraphicsGL(renderSession:RenderSession):Void
function __postRenderGL(renderSession:RenderSession):Void
function __preRenderGL(renderSession:RenderSession):Void
function __renderCairo(renderSession:RenderSession):Void
function __renderCairoMask(renderSession:RenderSession):Void
function __renderCanvas(renderSession:RenderSession):Void
function __renderCanvasMask(renderSession:RenderSession):Void
function __renderDOM(renderSession:RenderSession):Void
function __renderGL(renderSession:RenderSession):Void
function __update(transformOnly:Bool, updateChildren:Bool, ?maskGraphics:Graphics):Void
function __updateChildren(transformOnly:Bool):Void
function __updateMask(maskGraphics:Graphics):Void
function __updateTransforms(?overrideTransform:Matrix):Void
function getBounds(targetCoordinateSpace:DisplayObject):Rectangle
function getRect(targetCoordinateSpace:DisplayObject):Rectangle
function globalToLocal(pos:Point):Point
function hitTestObject(obj:DisplayObject):Bool
function hitTestPoint(x:Float, y:Float, ?shapeFlag:Bool):Bool
function localToGlobal(point:Point):Point

Inherited from EventDispatcher

function addEventListener(type:String, listener:Dynamic ->Void?useCapture:Bool, ?priority:Int, ?useWeakReference:Bool):Void
function dispatchEvent(event:Event):Bool
function hasEventListener(type:String):Bool
function removeEventListener(type:String, listener:Dynamic ->Void?useCapture:Bool):Void
function toString():String
function willTrigger(type:String):Bool

function new(): Void

function __renderCairo(renderSession:RenderSession): Void

function __renderCanvas(renderSession:RenderSession): Void

function __renderDOM(renderSession:RenderSession): Void

function __renderGL(renderSession:RenderSession): Void

function appendText(text:String): Void

function getCharBoundaries(charIndex:Int): Rectangle

function getFirstCharInParagraph(charIndex:Int): Int

function getLineIndexOfChar(charIndex:Int): Int

function getLineLength(lineIndex:Int): Int

function getLineMetrics(lineIndex:Int): TextLineMetrics

function getLineOffset(lineIndex:Int): Int

function getLineText(lineIndex:Int): String

function getParagraphLength(charIndex:Int): Int

function getTextFormat(?beginIndex:Int, ?endIndex:Int): TextFormat

function replaceText(beginIndex:Int, endIndex:Int, newText:String): Void

function setSelection(beginIndex:Int, endIndex:Int): Void

function setTextFormat(format:TextFormat, ?beginIndex:Int, ?endIndex:Int): Void