(&mut self, color: RGB)
| 193 | } |
| 194 | |
| 195 | fn set_draw_color(&mut self, color: RGB) { |
| 196 | self.set_fill_style_rgb(color); |
| 197 | self.set_stroke_style_rgb(color); |
| 198 | } |
| 199 | |
| 200 | fn clear(&mut self) -> io::Result<()> { |
| 201 | self.context.fill_rect( |
no test coverage detected