Reset Path

This commit is contained in:
Srishti 2013-06-30 04:22:25 +05:30
parent 21a8d62624
commit ee0705bcce

View File

@ -409,6 +409,7 @@ function info(message) {
} }
function clear(ctx) { function clear(ctx) {
ctx.beginPath();
ctx.clearRect(0, 0, canvas.width, canvas.height); ctx.clearRect(0, 0, canvas.width, canvas.height);
} }