  | RenderTransformDraw Method (SpriteBatch, Texture2D, Vector2F, Color) | 
            Transforms a sprite and adds it to a batch of sprites for rendering using the specified 
            texture, position and color. 
            
 
Namespace: DigitalRune.Game.UI.RenderingAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntaxpublic void Draw(
	SpriteBatch spriteBatch,
	Texture2D texture,
	Vector2F position,
	Color color
)
Public Sub Draw ( 
	spriteBatch As SpriteBatch,
	texture As Texture2D,
	position As Vector2F,
	color As Color
)
public:
void Draw(
	SpriteBatch^ spriteBatch, 
	Texture2D^ texture, 
	Vector2F position, 
	Color color
)
member Draw : 
        spriteBatch : SpriteBatch * 
        texture : Texture2D * 
        position : Vector2F * 
        color : Color -> unit 
Parameters
- spriteBatch
 - Type: SpriteBatch
The sprite batch for rendering. - texture
 - Type: Texture2D
The texture. - position
 - Type: DigitalRune.Mathematics.AlgebraVector2F
The location in screen coordinates to draw the sprite. - color
 - Type: Color
            The color to tint a sprite. Use white for full color with no tinting.
             
Exceptions
See Also