Beispiel #1
0
 public void DrawString(SpriteFont font, StringBuilder text, Vector2 position, Color tintColor, float angle, Vector2 origin, Vector2 scale, SpriteFlipEffect flipEffect, float depth)
 {
     SpriteFont.StringReference str = new SpriteFont.StringReference(text);
     font.DrawString(this, str, position, tintColor, angle, origin, scale, flipEffect, depth);
 }
Beispiel #2
0
 public void DrawString(SpriteFont font, StringBuilder text, Vector2 position, Color tintColor)
 {
     SpriteFont.StringReference str = new SpriteFont.StringReference(text);
     font.DrawString(this, str, position, tintColor, 0, Vector2.Zero, Vector2.One, SpriteFlipEffect.None, 0);
 }