W3cubDocs

/Haxe Flash

TextSnapshot

package flash.text

Available on flash

Constructor

new ()

Variables

read only charCount:Int

Methods

findText (beginIndex:Int, textToFind:String, caseSensitive:Bool):Int

getSelected (beginIndex:Int, endIndex:Int):Bool

getSelectedText (includeLineEndings:Bool = false):String

getText (beginIndex:Int, endIndex:Int, includeLineEndings:Bool = false):String

getTextRunInfo (beginIndex:Int, endIndex:Int):Array<Dynamic>

hitTestTextNearPos (x:Float, y:Float, maxDistance:Float = 0):Float

setSelectColor (hexColor:UInt = 16776960):Void

setSelected (beginIndex:Int, endIndex:Int, select:Bool):Void

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