Bitmap | |
The BitmapFont type exposes the following members.
| Name | Description | |
|---|---|---|
| CreateAsync(Stream) | CreateAsync loads the specified stream in the background thread and returns a created BitmapFont object. | |
| CreateAsync(String) | CreateAsync loads the specified fontFile in the background thread and returns a created BitmapFont object. | |
| GetFontPageGpuImage | Returns the GpuImage for the font texture with the specified page index. | |
| GetFontPageGpuImageAsync | Returns the GpuImage for the font texture with the specified page index. | |
| GetKerning | Gets the kerning for the specified character combination. | |
| MeasureText | Provides the size, in pixels, of the specified text when drawn with this font. When maxWidth is bigger then 0, then text is wrapped keep within the specified with. |