File: ElementFormat.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 (25 lines) | stat: -rw-r--r-- 1,173 bytes parent folder | download | duplicates (2)
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
package flash.text.engine;

@:final extern class ElementFormat {
	var alignmentBaseline : TextBaseline;
	var alpha : Float;
	var baselineShift : Float;
	var breakOpportunity : BreakOpportunity;
	var color : UInt;
	var digitCase : DigitCase;
	var digitWidth : DigitWidth;
	var dominantBaseline : TextBaseline;
	var fontDescription : FontDescription;
	var fontSize : Float;
	var kerning : Kerning;
	var ligatureLevel : LigatureLevel;
	var locale : String;
	var locked : Bool;
	var textRotation : TextRotation;
	var trackingLeft : Float;
	var trackingRight : Float;
	var typographicCase : TypographicCase;
	function new(?fontDescription : FontDescription, fontSize : Float = 12, color : UInt = 0, alpha : Float = 1, ?textRotation : TextRotation, ?dominantBaseline : TextBaseline, ?alignmentBaseline : TextBaseline, baselineShift : Float = 0, ?kerning : Kerning, trackingRight : Float = 0, trackingLeft : Float = 0, ?locale : String, ?breakOpportunity : BreakOpportunity, ?digitCase : DigitCase, ?digitWidth : DigitWidth, ?ligatureLevel : LigatureLevel, ?typographicCase : TypographicCase) : Void;
	function clone() : ElementFormat;
	function getFontMetrics() : FontMetrics;
}