SpriteBatch.DrawString Method
Adds a string to a batch of sprites to be rendered.
| Name | Description |
|---|---|
| SpriteBatch.DrawString (SpriteFont, String, Vector2, Color) | Adds a string to a batch of sprites for rendering using the specified font, text, position, and color. |
| SpriteBatch.DrawString (SpriteFont, String, Vector2, Color, Single, Vector2, Single, SpriteEffects, Single) | Adds a string to a batch of sprites for rendering using the specified font, text, position, color, rotation, origin, scale, effects and layer. |
| SpriteBatch.DrawString (SpriteFont, String, Vector2, Color, Single, Vector2, Vector2, SpriteEffects, Single) | Adds a string to a batch of sprites for rendering using the specified font, text, position, color, rotation, origin, scale, effects and layer. |
| SpriteBatch.DrawString (SpriteFont, StringBuilder, Vector2, Color) | Adds a string to a batch of sprites for rendering using the specified font, text, position, and color. |
| SpriteBatch.DrawString (SpriteFont, StringBuilder, Vector2, Color, Single, Vector2, Single, SpriteEffects, Single) | Adds a string to a batch of sprites for rendering using the specified font, text, position, color, rotation, origin, scale, effects and layer. |
| SpriteBatch.DrawString (SpriteFont, StringBuilder, Vector2, Color, Single, Vector2, Vector2, SpriteEffects, Single) | Adds a string to a batch of sprites for rendering using the specified font, text, position, color, rotation, origin, scale, effects and layer. |
big
javascript:CodeSnippet_CopyCode('CodeSnippetContainerCode_c4c204d7-b355-47ad-ada7-f4009961a61c');
- 2/26/2012
- looneypeak