Package | ch.capi.display.text |
Class | public class FontsParser |
Loader
object and then, the EmbedFontParser
will
register the Font
from an XMLNode
.
See also
Property | Defined by | ||
---|---|---|---|
defaultAlign : String
Defines the default alignement if the attribute is not specified.
| FontsParser | ||
defaultColor : uint
Defines the default color if attribute not specified.
| FontsParser | ||
defaultSize : uint
Defines the default size if attribute not specified.
| FontsParser |
Method | Defined by | ||
---|---|---|---|
Creates a new
FontsParser object. | FontsParser | ||
parse(node:XMLNode):void
Parse the
Font contained into the XMLNode . | FontsParser |
Method | Defined by | ||
---|---|---|---|
initializeFont(font:AbstractFont, node:XMLNode):void
Initialize the
AbstractFont . | FontsParser |
defaultAlign | property |
defaultAlign:String
[read-write]Defines the default alignement if the attribute is not specified.
Implementation public function get defaultAlign():String
public function set defaultAlign(value:String):void
defaultColor | property |
defaultColor:uint
[read-write]Defines the default color if attribute not specified.
Implementation public function get defaultColor():uint
public function set defaultColor(value:uint):void
defaultSize | property |
defaultSize:uint
[read-write]Defines the default size if attribute not specified.
Implementation public function get defaultSize():uint
public function set defaultSize(value:uint):void
FontsParser | () | constructor |
public function FontsParser()
Creates a new FontsParser
object.
initializeFont | () | method |
protected function initializeFont(font:AbstractFont, node:XMLNode):void
Initialize the AbstractFont
.
font:AbstractFont — The AbstractFont to initialize.
|
|
node:XMLNode — The XMLNode .
|
parse | () | method |
public function parse(node:XMLNode):void
Parse the Font
contained into the XMLNode
.
node:XMLNode — The node to parse.
|
ParseError — If the XMLNode is invalid.
|