Calculate, store and return the center point. Usefull for e.g. rotate.
Check whether the bounding box of this Sprite collide with the bounding box of another Sprite
Check whether the bounding box of this Sprite collide with the given Rect
Rvalue version
Returns the current Blend instance, or null.
Returns the current Clip Rect, the area, where the Sprite lies with the same size as the Sprite.
Returns the current Texture or null if there is none.
Check if the current Sprite has already a Texture/Image. If not, nothing can be drawn. But it does not check if the current Texture is valid.
Set (or reset) the current Blend instance.
Set or replace the current Texture.
Returns the current height (the height of the current texture).
Returns the current width (the width of the current texture).
Apply translation to the object.
Calculate, store and return the center point.
Reset the translation.
Set the rotation center.
Set the rotation center.
Returns the rotation center.
Set a (new) rotation.
Increase/Decrease the rotation.
Returns the current rotation.
Set a new scale.
Increase/Decrease the scale/zoom.
Returns the current scale/zoom.
Sprite represents a drawable object and maintains a texture and his position.