Méthode | Description | |
---|---|---|
Dispose ( ) : void | ||
DrawText ( string text, float2 location, Color c ) : void | ||
DrawTextWithContrast ( string text, float2 location, Color fg, Color bgDark, Color bgLight, int offset ) : void | ||
DrawTextWithContrast ( string text, float2 location, Color fg, Color bg, int offset ) : void | ||
DrawTextWithShadow ( string text, float2 location, Color fg, Color bgDark, Color bgLight, int offset ) : void | ||
DrawTextWithShadow ( string text, float2 location, Color fg, Color bg, int offset ) : void | ||
Measure ( string text ) : int2 | ||
SpriteFont ( string name, byte data, int size, |
Méthode | Description | |
---|---|---|
CreateGlyph ( Color>.Pair |
||
PrecacheColor ( Color c, string name ) : void |
public DrawText ( string text, float2 location, Color c ) : void | ||
text | string | |
location | float2 | |
c | Color | |
Résultat | void |
public DrawTextWithContrast ( string text, float2 location, Color fg, Color bgDark, Color bgLight, int offset ) : void | ||
text | string | |
location | float2 | |
fg | Color | |
bgDark | Color | |
bgLight | Color | |
offset | int | |
Résultat | void |
public DrawTextWithContrast ( string text, float2 location, Color fg, Color bg, int offset ) : void | ||
text | string | |
location | float2 | |
fg | Color | |
bg | Color | |
offset | int | |
Résultat | void |
public DrawTextWithShadow ( string text, float2 location, Color fg, Color bgDark, Color bgLight, int offset ) : void | ||
text | string | |
location | float2 | |
fg | Color | |
bgDark | Color | |
bgLight | Color | |
offset | int | |
Résultat | void |
public DrawTextWithShadow ( string text, float2 location, Color fg, Color bg, int offset ) : void | ||
text | string | |
location | float2 | |
fg | Color | |
bg | Color | |
offset | int | |
Résultat | void |
public SpriteFont ( string name, byte data, int size, |
||
name | string | |
data | byte | |
size | int | |
builder | ||
Résultat | System |