| Package | com.myflashlab.air.extensions.rongta |
| Class | public class ESCTextSettings |
| Inheritance | ESCTextSettings TextSettings Object |
getTextCmd method of Cmd class.
| Property | Defined By | ||
|---|---|---|---|
| align : int
align setting. | ESCTextSettings | ||
| bold : Boolean
Bold Setting
| ESCTextSettings | ||
| doubleHeight : Boolean
double height setting
| ESCTextSettings | ||
| doubleWidth : Boolean
double width setting
| ESCTextSettings | ||
| escFontType : int
Font Type Setting, Only support English-Number characters. | ESCTextSettings | ||
| isAntiWhite : Boolean
anti white setting
| ESCTextSettings | ||
| isSmallCharactor : Boolean | ESCTextSettings | ||
| italic : Boolean
italic setting
| ESCTextSettings | ||
| rotation : int
ESC (Rotate90, Rotate0 only)
| ESCTextSettings | ||
| underline : Boolean
underline setting
| ESCTextSettings | ||
| Method | Defined By | ||
|---|---|---|---|
initialize an instance of this class | ESCTextSettings | ||
| Constant | Defined By | ||
|---|---|---|---|
![]() | ALIGN_BOTH_SIDES : int = 3 [static] | TextSettings | |
![]() | ALIGN_LEFT : int = 0 [static] | TextSettings | |
![]() | ALIGN_MIDDLE : int = 1 [static] | TextSettings | |
![]() | ALIGN_RIGHT : int = 2 [static] | TextSettings | |
| FONT_A_12x24 : int = 0 [static] | ESCTextSettings | ||
| FONT_B_9x24 : int = 1 [static] Not available on iOS, FONT_A_12x24 value will be used instead | ESCTextSettings | ||
| FONT_C_9x17 : int = 2 [static] | ESCTextSettings | ||
| FONT_D_8x16 : int = 3 [static] Not available on iOS, FONT_C_9x17 value will be used instead | ESCTextSettings | ||
![]() | Rotate0 : int = 0 [static] | TextSettings | |
![]() | Rotate180 : int = 2 [static] | TextSettings | |
![]() | Rotate270 : int = 3 [static] | TextSettings | |
![]() | Rotate90 : int = 1 [static] | TextSettings | |
| align | property |
align:intalign setting.
public function get align():int public function set align(value:int):void| bold | property |
bold:BooleanBold Setting
public function get bold():Boolean public function set bold(value:Boolean):void| doubleHeight | property |
doubleHeight:Booleandouble height setting
public function get doubleHeight():Boolean public function set doubleHeight(value:Boolean):void| doubleWidth | property |
doubleWidth:Booleandouble width setting
public function get doubleWidth():Boolean public function set doubleWidth(value:Boolean):void| escFontType | property |
escFontType:intFont Type Setting, Only support English-Number characters.
public function get escFontType():int public function set escFontType(value:int):void| isAntiWhite | property |
isAntiWhite:Booleananti white setting
public function get isAntiWhite():Boolean public function set isAntiWhite(value:Boolean):void| isSmallCharactor | property |
isSmallCharactor:Boolean public function get isSmallCharactor():Boolean public function set isSmallCharactor(value:Boolean):void| italic | property |
italic:Booleanitalic setting
public function get italic():Boolean public function set italic(value:Boolean):void| rotation | property |
rotation:intESC (Rotate90, Rotate0 only)
public function get rotation():int public function set rotation(value:int):void| underline | property |
underline:Booleanunderline setting
public function get underline():Boolean public function set underline(value:Boolean):void| ESCTextSettings | () | Constructor |
public function ESCTextSettings()initialize an instance of this class
| FONT_A_12x24 | Constant |
public static const FONT_A_12x24:int = 0| FONT_B_9x24 | Constant |
public static const FONT_B_9x24:int = 1Not available on iOS, FONT_A_12x24 value will be used instead
| FONT_C_9x17 | Constant |
public static const FONT_C_9x17:int = 2| FONT_D_8x16 | Constant |
public static const FONT_D_8x16:int = 3Not available on iOS, FONT_C_9x17 value will be used instead