How do I add colour to my text in canvas. When I tried fillStyle the text just stayed black.
A:
you indeed have to set fillStyle and then call fill();
ctx.strokeStyle = 'red';
ctx.stroke();
ctx.fillStyle= 'blue';
ctx.fill();
futtta
2010-03-29 08:38:17
Thanks, i found out after I posted the question. Here is the finished product of my question: http://nebkat.com/projects/alphaworks/
NebNeb
2010-03-29 16:48:22