From bb6aefc64d56c3fe35bdaf88becf405415134277 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Wed, 3 Nov 2010 14:20:10 -0700 Subject: [PATCH] Removed measureText() from examples/text.js --- examples/text.js | 4 ---- 1 file changed, 4 deletions(-) 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