SpriteBatch.DrawString Method
Adds a sprite string to the batch of sprites to be rendered.
Overload List
Name | Description |
---|---|
SpriteBatch.DrawString (SpriteFont, String, Vector2, Color) | Adds a sprite string to the batch of sprites to be rendered, specifying the font, output text, screen position, and color tint. |
SpriteBatch.DrawString (SpriteFont, String, Vector2, Color, Single, Vector2, Single, SpriteEffects, Single) | Adds a sprite string to the batch of sprites to be rendered, specifying the font, output text, screen position, color tint, rotation, origin, scale, and effects. |
SpriteBatch.DrawString (SpriteFont, String, Vector2, Color, Single, Vector2, Vector2, SpriteEffects, Single) | Adds a sprite string to the batch of sprites to be rendered, specifying the font, output text, screen position, color tint, rotation, origin, scale, effects, and depth. |
See Also
Reference
SpriteBatch Class
SpriteBatch Members
Microsoft.Xna.Framework.Graphics Namespace