diff --git a/examples/text.js b/examples/text.js index df85d2f..02c5ab2 100644 --- a/examples/text.js +++ b/examples/text.js @@ -32,8 +32,4 @@ ctx.strokeText("Wahoo", 50, 100); ctx.fillStyle = '#000'; ctx.fillText("Wahoo", 49, 99); -var te = ctx.measureText('Wahoo'); -ctx.strokeStyle = 'red'; -ctx.strokeRect(50, 100 - te.height, te.width, te.height); - canvas.savePNG(__dirname + '/text.png'); \ No newline at end of file