Export (0) Print
Expand All
2 out of 7 rated this helpful - Rate this topic

SpriteBatch.DrawString Method

Adds a string to a batch of sprites to be rendered.
NameDescription
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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.