Packageorg.aswing
Classpublic class EmptyFont
InheritanceEmptyFont Inheritance ASFont

EmptyFont is a font that will not change text field's format.



Public Methods
 MethodDefined by
  
EmptyFont
  
apply(textField:TextField, beginIndex:int = -1, endIndex:int = -1):void
Do nothing here.
EmptyFont
 Inherited
changeBold(bold:Boolean):ASFont
ASFont
 Inherited
changeItalic(italic:Boolean):ASFont
ASFont
 Inherited
changeName(name:String):ASFont
ASFont
 Inherited
changeSize(size:int):ASFont
ASFont
 Inherited
changeUnderline(underline:Boolean):ASFont
ASFont
 Inherited
computeTextSize(text:String, includeGutters:Boolean = true):IntDimension
Computes text size with this font.
ASFont
 Inherited
ASFont
 Inherited
getName():String
ASFont
 Inherited
getSize():uint
ASFont
  
getTextFormat():TextFormat
Returns new TextFormat().
EmptyFont
 Inherited
isBold():Boolean
ASFont
 Inherited
isEmbedFonts():Boolean
ASFont
 Inherited
isItalic():Boolean
ASFont
 Inherited
isUnderline():Boolean
ASFont
 Inherited
toString():String
ASFont
Constructor detail
EmptyFont()constructor
public function EmptyFont()
Method detail
apply()method
public override function apply(textField:TextField, beginIndex:int = -1, endIndex:int = -1):void

Do nothing here.

Parameters
textField:TextField — the text filed to be applied font.
 
beginIndex:int (default = -1) — The zero-based index position specifying the first character of the desired range of text.
 
endIndex:int (default = -1) — The zero-based index position specifying the last character of the desired range of text.
getTextFormat()method 
public override function getTextFormat():TextFormat

Returns new TextFormat().

Returns
TextFormatnew TextFormat().