Default constructor
Construct the sprite from a source texture
Destructor.
Draw the sprite to a render target.
Get the global bounding rectangle of the entity.
Get the local bounding rectangle of the entity.
Get the source texture of the sprite.
Change the source texture of the shape.
The global color of the sprite.
Create a new Sprite with the same data. Note that the texture is not copied, only its reference.
The sub-rectangle of the texture that the sprite will display.
Draw the object to a render target.
The local origin of the object.
The position of the object. The default is (0, 0).
The orientation of the object, in degrees. The default is 0 degrees.
The scale factors of the object. The default is (1, 1).
Get the inverse of the combined transform of the object.
Get the combined transform of the object.
Move the object by a given offset.
Drawable representation of a texture, with its own transformations, color, etc.