|
< index < 5. Image toolkit |
===================================== |
C++ : void TCODImage::clear(const TCODColor color) C : void TCOD_image_clear(TCOD_image_t image, TCOD_color_t color) Py : image_clear(image,color)
| Parameter | Description |
|---|---|
| image | In the C and python version, the image to fill. |
| color | The color to use. |
C++ : pix->clear(TCODColor::red); C : TCOD_image_clear(pix,TCOD_red); Py : libtcod.image_clear(pix,libtcod.red)