| Package | ch.capi.display.text |
| Class | public class FontsParser |
| Inheritance | FontsParser Object |
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 in 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.
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.
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.
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.
Parameters
font:AbstractFont — The AbstractFont to initialize.
| |
node:XMLNode — The XMLNode.
|
| parse | () | method |
public function parse(node:XMLNode):void
Parse the Font contained in the XMLNode.
Parameters
node:XMLNode — The node to parse.
|
ch.capi.errors:ParseError If — the XMLNode is invalid.
|