Метод |
Описание |
|
IFont ( Batcher batcher, StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effect, float depth ) : void |
|
|
IFont ( Batcher batcher, string text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effect, float depth ) : void |
|
|
NezSpriteFont ( SpriteFont font ) : System |
|
|
drawInto ( Batcher batcher, FontCharacterSource &text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effect, float depth ) : void |
|
|
hasCharacter ( char c ) : bool |
checks to see if a BitmapFontRegion exists for the char |
|
measureString ( StringBuilder text ) : Vector2 |
Returns the size of the contents of a StringBuilder when rendered in this font. |
|
measureString ( string text ) : Vector2 |
Returns the size of a string when rendered in this font. |
|
measureString ( FontCharacterSource &text, Vector2 &size ) : void |
|
|
tryGetFontRegionForChar ( char c, SpriteFont &fontGlyph, bool useDefaultRegionIfNotPresent = false ) : bool |
gets the BitmapFontRegion for the given char optionally substituting the default region if it isnt present. |
|