engine.TextLine

TextLine

package flash-text-engine

extends DisplayObjectContainerInteractiveObjectDisplayObjectEventDispatcher

Available on flash

Constructor

new ()

Variables

read only ascent:Float

read only atomCount:Int

read only descent:Float

read only hasGraphicElement:Bool

read only hasTabs:Bool

read only mirrorRegions:Vector<TextLineMirrorRegion>

read only nextLine:TextLine

read only previousLine:TextLine

read only rawTextLength:Int

read only specifiedWidth:Float

read only textBlock:TextBlock

read only textBlockBeginIndex:Int

read only textHeight:Float

read only textWidth:Float

read only totalAscent:Float

read only totalDescent:Float

read only totalHeight:Float

read only unjustifiedTextWidth:Float

userData:Dynamic

validity:String

Methods

dump ():String

flushAtomData ():Void

getAtomBidiLevel (atomIndex:Int):Int

getAtomBounds (atomIndex:Int):Rectangle

getAtomCenter (atomIndex:Int):Float

getAtomGraphic (atomIndex:Int):DisplayObject

getAtomIndexAtCharIndex (charIndex:Int):Int

getAtomIndexAtPoint (stageX:Float, stageY:Float):Int

getAtomTextBlockBeginIndex (atomIndex:Int):Int

getAtomTextBlockEndIndex (atomIndex:Int):Int

getAtomTextRotation (atomIndex:Int):String

getAtomWordBoundaryOnLeft (atomIndex:Int):Bool

getBaselinePosition (baseline:String):Float

getMirrorRegion (mirror:EventDispatcher):TextLineMirrorRegion

Static variables

static read only MAX_LINE_WIDTH:Int

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/flash/text/engine/TextLine.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部