File: TextLine.hx

package info (click to toggle)
haxe 1%3A3.2.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 23,464 kB
  • ctags: 9,612
  • sloc: ml: 83,200; ansic: 1,724; makefile: 473; java: 349; cs: 314; python: 250; sh: 43; cpp: 39; xml: 25
file content (40 lines) | stat: -rw-r--r-- 1,807 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package flash.text.engine;

@:final extern class TextLine extends flash.display.DisplayObjectContainer {
	var ascent(default,null) : Float;
	var atomCount(default,null) : Int;
	var descent(default,null) : Float;
	var hasGraphicElement(default,null) : Bool;
	@:require(flash10_1) var hasTabs(default,null) : Bool;
	var mirrorRegions(default,null) : flash.Vector<TextLineMirrorRegion>;
	var nextLine(default,null) : TextLine;
	var previousLine(default,null) : TextLine;
	var rawTextLength(default,null) : Int;
	var specifiedWidth(default,null) : Float;
	var textBlock(default,null) : TextBlock;
	var textBlockBeginIndex(default,null) : Int;
	var textHeight(default,null) : Float;
	var textWidth(default,null) : Float;
	var totalAscent(default,null) : Float;
	var totalDescent(default,null) : Float;
	var totalHeight(default,null) : Float;
	var unjustifiedTextWidth(default,null) : Float;
	var userData : Dynamic;
	var validity : String;
	function new() : Void;
	function dump() : String;
	function flushAtomData() : Void;
	function getAtomBidiLevel(atomIndex : Int) : Int;
	function getAtomBounds(atomIndex : Int) : flash.geom.Rectangle;
	function getAtomCenter(atomIndex : Int) : Float;
	function getAtomGraphic(atomIndex : Int) : flash.display.DisplayObject;
	function getAtomIndexAtCharIndex(charIndex : Int) : Int;
	function getAtomIndexAtPoint(stageX : Float, stageY : Float) : Int;
	function getAtomTextBlockBeginIndex(atomIndex : Int) : Int;
	function getAtomTextBlockEndIndex(atomIndex : Int) : Int;
	function getAtomTextRotation(atomIndex : Int) : String;
	function getAtomWordBoundaryOnLeft(atomIndex : Int) : Bool;
	function getBaselinePosition(baseline : String) : Float;
	function getMirrorRegion(mirror : flash.events.EventDispatcher) : TextLineMirrorRegion;
	static var MAX_LINE_WIDTH : Int;
}