away3d.textfield
| .. | |
|---|---|
| utils | |
| BitmapChar | A BitmapChar contains the information about one char of a bitmap font. |
| BitmapFont | The BitmapFont class parses bitmap font files and arranges the glyphs in the form of a text. The class parses the Xml format as it is used in the AngelCode Bitmap Font Generator or the Glyph Designer. This is what the file format looks like:
<font>
<info face="BranchingMouse" size="40" />
<common lineHeight="40" />
<pages> <!-- currently, only one page is supported -->
<page id="0" file="texture.png" />
</pages>
<chars>
<char id="32" x="60" y="29" width="1" height="1" xoffset="0" yoffset="27" xadvance="8" />
<char id="33" x="155" y="144" width="9" height="21" xoffset="0" yoffset="6" xadvance="9" />
</chars>
<kernings> <!-- Kerning is optional -->
<kerning first="83" second="83" amount="-4"/>
</kernings>
</font>
Pass an instance of this class to the method registerBitmapFont of the
TextField class. Then, set the fontName property of the text field to the
name value of the bitmap font. This will make the text field use the bitmap
font. |
| CharLocation | ... |
| CleanMasterString | |
| HAlign | A class that provides constant values for horizontal alignment of objects. |
| RectangleBitmapTexture | |
| TextField | |
| VAlign | A class that provides constant values for vertical alignment of objects. |