메소드 | 설명 | |
---|---|---|
DrawString ( |
Draws the string
|
|
MeasureGlyph ( char ch ) : Rectangle |
|
|
MeasureString ( string text ) : Rectangle |
|
|
MeasureStringF ( string text, float tracking ) : RectangleF |
Measures string
|
|
SpriteFont ( |
Constrcutor
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public MeasureStringF ( string text, float tracking ) : RectangleF | ||
text | string | |
tracking | float | |
리턴 | RectangleF |
public SpriteFont ( |
||
rs | ||
stream | Stream | |
리턴 | System |