Stroke text width increased

This commit is contained in:
Thomas FORGIONE 2015-06-05 18:04:59 +02:00
parent 12065cfc0b
commit 3f5b9516c6
1 changed files with 3 additions and 2 deletions

View File

@ -49,11 +49,12 @@ Coin.update = function() {
Coin.ctx.strokeStyle = 'black';
Coin.ctx.font = "30px Verdana";
Coin.ctx.fillText(Coin.total - 1 + " / " + 8, x, 50);
Coin.ctx.lineWidth = 5;
Coin.ctx.strokeText(Coin.total - 1 + " / " + 8, x, 50);
Coin.ctx.fillText(Coin.total - 1 + " / " + 8, x, 50);
Coin.ctx.fill();
Coin.ctx.stroke();
Coin.ctx.fill();
}