- draw
void draw(Vector2 destination, Color tint)
- draw
void draw(Rectangle destination, Color tint)
- drawHinted
void drawHinted(Rectangle destination, Color tint)
void drawHinted(Vector2 destination, Color tint)
- id
int id()
- load
void load(CanvasIO canvasIO, int id)
Undocumented in source. Be warned that the author may not have intended to support it.
- opAssign
Image opAssign(Image other)
- opEquals
bool opEquals(DrawableImage other)
bool opEquals(Image other)
Compare to another image image.
A DrawableImage is a variant of Image that can be associated with a CanvasIO in order to be drawn.
Prepare images for drawing using load() in resizeImpl:
Draw images in drawImpl: