Export (0) Print
Expand All

SpriteBatch.DrawString Method

Adds a sprite string to the batch of sprites to be rendered.

NameDescription
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.
Show:
© 2014 Microsoft