
| Inherits from SpriteSource |
| No new properties |
| filename | :: FileName | The path to the sprite file to use. |
The path to the sprite file to use. | ||
| size optional | :: SpriteSizeType or {SpriteSizeType, SpriteSizeType} | The width and height of the sprite. [...] |
The width and height of the sprite. [...] | ||
| width optional | :: SpriteSizeType | Mandatory if |
Mandatory if | ||
| height optional | :: SpriteSizeType | Mandatory if |
Mandatory if | ||
| x optional | :: SpriteSizeType | Horizontal position of the sprite in the source file in pixels. |
Horizontal position of the sprite in the source file in pixels. | ||
| y optional | :: SpriteSizeType | Vertical position of the sprite in the source file in pixels. |
Vertical position of the sprite in the source file in pixels. | ||
| position optional | :: {SpriteSizeType, SpriteSizeType} | Loaded only when |
Loaded only when | ||
| load_in_minimal_mode optional | :: boolean | Minimal mode is entered when mod loading fails. [...] |
Minimal mode is entered when mod loading fails. [...] | ||
| premul_alpha optional | :: boolean | Whether alpha should be pre-multiplied. |
Whether alpha should be pre-multiplied. | ||
| allow_forced_downscale optional | :: boolean | If |
If | ||
| No new properties |
| filename | :: FileName | The path to the sprite file to use. |
The path to the sprite file to use. | ||
| allow_forced_downscale optional | :: boolean | If |
If | ||
| height optional | :: SpriteSizeType | Mandatory if |
Mandatory if | ||
| load_in_minimal_mode optional | :: boolean | Minimal mode is entered when mod loading fails. [...] |
Minimal mode is entered when mod loading fails. [...] | ||
| position optional | :: {SpriteSizeType, SpriteSizeType} | Loaded only when |
Loaded only when | ||
| premul_alpha optional | :: boolean | Whether alpha should be pre-multiplied. |
Whether alpha should be pre-multiplied. | ||
| size optional | :: SpriteSizeType or {SpriteSizeType, SpriteSizeType} | The width and height of the sprite. [...] |
The width and height of the sprite. [...] | ||
| width optional | :: SpriteSizeType | Mandatory if |
Mandatory if | ||
| x optional | :: SpriteSizeType | Horizontal position of the sprite in the source file in pixels. |
Horizontal position of the sprite in the source file in pixels. | ||
| y optional | :: SpriteSizeType | Vertical position of the sprite in the source file in pixels. |
Vertical position of the sprite in the source file in pixels. | ||

Prototypes
Types
Defines