Clears the canvas entirely to a background colour, and removes any stored resources (layers, sprites, fonts, textures)
(&mut self, color: Color)
| 147 | |
| 148 | /// Clears the canvas entirely to a background colour, and removes any stored resources (layers, sprites, fonts, textures) |
| 149 | fn clear_canvas(&mut self, color: Color) { self.draw(Draw::ClearCanvas(color)); } |
| 150 | |
| 151 | |
| 152 |