TextSnapshot

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部