Packagecom.myflashlab.air.extensions.rongta
Classpublic class ESCTextSettings
InheritanceESCTextSettings Inheritance TextSettings Inheritance Object

ESCText Setting to be passed to the getTextCmd method of Cmd class.



Public Properties
 PropertyDefined 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
Protected Properties
 PropertyDefined By
 Inherited_obj : Object
TextSettings
Public Methods
 MethodDefined By
  
initialize an instance of this class
ESCTextSettings
Public Constants
 ConstantDefined By
 InheritedALIGN_BOTH_SIDES : int = 3
[static]
TextSettings
 InheritedALIGN_LEFT : int = 0
[static]
TextSettings
 InheritedALIGN_MIDDLE : int = 1
[static]
TextSettings
 InheritedALIGN_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
 InheritedRotate0 : int = 0
[static]
TextSettings
 InheritedRotate180 : int = 2
[static]
TextSettings
 InheritedRotate270 : int = 3
[static]
TextSettings
 InheritedRotate90 : int = 1
[static]
TextSettings
Property Detail
alignproperty
align:int

align setting.


Implementation
    public function get align():int
    public function set align(value:int):void
boldproperty 
bold:Boolean

Bold Setting


Implementation
    public function get bold():Boolean
    public function set bold(value:Boolean):void
doubleHeightproperty 
doubleHeight:Boolean

double height setting


Implementation
    public function get doubleHeight():Boolean
    public function set doubleHeight(value:Boolean):void
doubleWidthproperty 
doubleWidth:Boolean

double width setting


Implementation
    public function get doubleWidth():Boolean
    public function set doubleWidth(value:Boolean):void
escFontTypeproperty 
escFontType:int

Font Type Setting, Only support English-Number characters.


Implementation
    public function get escFontType():int
    public function set escFontType(value:int):void
isAntiWhiteproperty 
isAntiWhite:Boolean

anti white setting


Implementation
    public function get isAntiWhite():Boolean
    public function set isAntiWhite(value:Boolean):void
isSmallCharactorproperty 
isSmallCharactor:Boolean


Implementation
    public function get isSmallCharactor():Boolean
    public function set isSmallCharactor(value:Boolean):void
italicproperty 
italic:Boolean

italic setting


Implementation
    public function get italic():Boolean
    public function set italic(value:Boolean):void
rotationproperty 
rotation:int

ESC (Rotate90, Rotate0 only)


Implementation
    public function get rotation():int
    public function set rotation(value:int):void
underlineproperty 
underline:Boolean

underline setting


Implementation
    public function get underline():Boolean
    public function set underline(value:Boolean):void
Constructor Detail
ESCTextSettings()Constructor
public function ESCTextSettings()

initialize an instance of this class

Constant Detail
FONT_A_12x24Constant
public static const FONT_A_12x24:int = 0

FONT_B_9x24Constant 
public static const FONT_B_9x24:int = 1

Not available on iOS, FONT_A_12x24 value will be used instead

FONT_C_9x17Constant 
public static const FONT_C_9x17:int = 2

FONT_D_8x16Constant 
public static const FONT_D_8x16:int = 3

Not available on iOS, FONT_C_9x17 value will be used instead