Image img | Image of the sprite |
float left | Left coordinate of the sprite (0 by default) |
float top | Top coordinate of the sprite (0 by default) |
float scaleX | Horizontal scale (1 by default) |
float scaleY | Vertical scale (1 by default) |
float rotation | Orientation, in degrees (0 by default) |
Color col | Color of the sprite (white by default) |
Image img | New image |
Rect rect | New sub-rectangle |
float width | New width (must be strictly positive) |
float height | New height (must be strictly positive) |
Vector2!(float) size | New size (both coordinates must be strictly positive) |
bool flipped | True to flip the sprite |
bool flipped | True to flip the sprite |
uint x | X coordinate |
uint y | Y coordinate |