M&B: Bannerlord 1.2.10
The horns sound, the ravens gather.
|
Public Member Functions | |
Font (string name) | |
bool | TryLoadFontFromPath (string path, SpriteData spriteData) |
float | GetWordWidth (string word, float extraPadding) |
float | GetCharacterWidth (char character, float extraPadding) |
override string | ToString () |
Properties | |
string | Name [get] |
int | Size [get] |
int | LineHeight [get] |
int | Base [get] |
int | CharacterCount [get] |
float | SmoothingConstant [get] |
float | CustomScale = 1f [get] |
Used for scaling font size. Already applied to Size. | |
bool | Smooth [get] |
SpritePart | FontSprite [get] |
Dictionary< int, BitmapFontCharacter > | Characters [get] |
TaleWorlds.TwoDimension.Font.Font | ( | string | name | ) |
bool TaleWorlds.TwoDimension.Font.TryLoadFontFromPath | ( | string | path, |
SpriteData | spriteData ) |
float TaleWorlds.TwoDimension.Font.GetWordWidth | ( | string | word, |
float | extraPadding ) |
float TaleWorlds.TwoDimension.Font.GetCharacterWidth | ( | char | character, |
float | extraPadding ) |
override string TaleWorlds.TwoDimension.Font.ToString | ( | ) |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |