Method | Description | |
---|---|---|
BitmapFont ( ) : System |
Initializes a new instance with an embedded mini font. This font's characters have a height of 5 pixels and a maximum width of 5 pixels.
|
|
BitmapFont ( Stream fontTextureData, Stream fontXmlData ) : System | ||
CharById ( int charId ) : |
Returns a single bitmap char with a certain character ID.
|
|
FillQuadBatch ( |
Draws text into a quad batch.
|
Method | Description | |
---|---|---|
ArrangeCharsInArea ( float width, float height, string text, float size, HAlign hAlign, VAlign vAlign, bool autoScale, bool kerning ) : List |
||
ParseAndLoadChars ( |
||
ParseAndLoadCommon ( |
||
ParseAndLoadInfo ( |
||
ParseAndLoadKerning ( |
||
ParseFontData ( Stream fontTextureData, Stream fontXmlData ) : void | ||
TextureReferencedByXmlData ( |
public BitmapFont ( Stream fontTextureData, Stream fontXmlData ) : System | ||
fontTextureData | Stream | |
fontXmlData | Stream | |
return | System |
public FillQuadBatch ( |
||
quadBatch | ||
width | float | |
height | float | |
text | string | |
size | float | |
color | uint | |
hAlign | HAlign | |
vAlign | VAlign | |
autoScale | bool | |
kerning | bool | |
return | void |