clearDrawing method

void clearDrawing()

Implementation

void clearDrawing() {
  ctx.clearRect(0, 0, ctx.canvas.width.toDouble(), ctx.canvas.height.toDouble());
  hideCaption();
}