Method | Description | |
---|---|---|
DrawString ( |
Draws the string
|
|
MeasureGlyph ( char ch ) : Rectangle |
|
|
MeasureString ( string text ) : Rectangle |
|
|
MeasureStringF ( string text, float tracking ) : RectangleF |
Measures string
|
|
SpriteFont ( |
Constrcutor
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
GetInfo ( char ch ) : SpriteFontInfo.CharInfo |
|
|
GetKerning ( char ch0, char ch1 ) : float |
|
public DrawString ( |
||
spriteBatch | ||
text | string | |
xPos | float | |
yPos | float | |
color | Color | |
frameIndex | int | |
tracking | float | |
useBaseLine | bool | |
flip | bool | |
return | void |
public MeasureString ( string text ) : Rectangle | ||
text | string | |
return | Rectangle |
public MeasureStringF ( string text, float tracking ) : RectangleF | ||
text | string | |
tracking | float | |
return | RectangleF |
public SpriteFont ( |
||
rs | ||
stream | Stream | |
return | System |