Just use clearRect (you don't need to set the color then since it used the background color).
However in an ideal world you might use the Layout library (http://www.espruino.com/Bangle.js+Layout) which would handle the positioning (and erasing of the background) for you - so then it'd all be in the right position on Bangle.js 1 too
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Just use
clearRect
(you don't need to set the color then since it used the background color).However in an ideal world you might use the Layout library (http://www.espruino.com/Bangle.js+Layout) which would handle the positioning (and erasing of the background) for you - so then it'd all be in the right position on Bangle.js 1 too