File: TextLine.hx

package info (click to toggle)
haxe 1%3A4.3.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 44,520 kB
  • sloc: ml: 137,268; ansic: 2,491; makefile: 456; java: 386; cs: 336; cpp: 318; python: 318; sh: 75; objc: 64; php: 50; xml: 31; javascript: 11
file content (60 lines) | stat: -rw-r--r-- 3,035 bytes parent folder | download | duplicates (4)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package flash.text.engine;

extern final class TextLine extends flash.display.DisplayObjectContainer {
	@:flash.property var ascent(get,never) : Float;
	@:flash.property var atomCount(get,never) : Int;
	@:flash.property var descent(get,never) : Float;
	@:flash.property var hasGraphicElement(get,never) : Bool;
	@:flash.property @:require(flash10_1) var hasTabs(get,never) : Bool;
	@:flash.property var mirrorRegions(get,never) : flash.Vector<TextLineMirrorRegion>;
	@:flash.property var nextLine(get,never) : TextLine;
	@:flash.property var previousLine(get,never) : TextLine;
	@:flash.property var rawTextLength(get,never) : Int;
	@:flash.property var specifiedWidth(get,never) : Float;
	@:flash.property var textBlock(get,never) : TextBlock;
	@:flash.property var textBlockBeginIndex(get,never) : Int;
	@:flash.property var textHeight(get,never) : Float;
	@:flash.property var textWidth(get,never) : Float;
	@:flash.property var totalAscent(get,never) : Float;
	@:flash.property var totalDescent(get,never) : Float;
	@:flash.property var totalHeight(get,never) : Float;
	@:flash.property var unjustifiedTextWidth(get,never) : Float;
	var userData : Dynamic;
	@:flash.property var validity(get,set) : 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;
	private function get_ascent() : Float;
	private function get_atomCount() : Int;
	private function get_descent() : Float;
	private function get_hasGraphicElement() : Bool;
	private function get_hasTabs() : Bool;
	private function get_mirrorRegions() : flash.Vector<TextLineMirrorRegion>;
	private function get_nextLine() : TextLine;
	private function get_previousLine() : TextLine;
	private function get_rawTextLength() : Int;
	private function get_specifiedWidth() : Float;
	private function get_textBlock() : TextBlock;
	private function get_textBlockBeginIndex() : Int;
	private function get_textHeight() : Float;
	private function get_textWidth() : Float;
	private function get_totalAscent() : Float;
	private function get_totalDescent() : Float;
	private function get_totalHeight() : Float;
	private function get_unjustifiedTextWidth() : Float;
	private function get_validity() : String;
	private function set_validity(value : String) : String;
	static final MAX_LINE_WIDTH : Int;
}