DX9ToolsR4 - Created by: X

SpriteBlt.Draw Method (ISpriteTransform, Texture, Rectangle)

The Draw method is used to draw draw the sprite on the screen.

[Visual Basic]
Overloads Public Sub Draw( _
   ByVal Sprite As ISpriteTransform, _
   ByVal Texture As Texture, _
   ByVal SourceRectangle As Rectangle _
)
[C#]
public void Draw(
   ISpriteTransform Sprite,
   Texture Texture,
   Rectangle SourceRectangle
);

Parameters

Sprite
A reference to a object that implements the ISpriteTransform interface.
Texture
Reference to a source texture that the SpriteBlt class will draw with.
SourceRectangle
A source rectangle determining what part of the texture to draw.

See Also

SpriteBlt Class | CBX.Libs.DX9ToolsR4.Sprites Namespace | SpriteBlt.Draw Overload List