TextSnapshot

package flash.text

Available on flash

Constructor

new()

Variables

read onlycharCount: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–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/text/TextSnapshot.html