What is the intent of the getContext function on the <canvas> tag?

Should it be possible to get multiple simultaneous different contexts as in?

var ctx2d = canvas.getContext("2d");
var ctxText = canvas.getContext("fancy-text-api");
var ctxFilter = canvas.getContext("image-filter-api");

ctx2d.drawImage(someImage, 0, 0);
ctxText.drawText(0, 0, "hello world");
ctxFilter.radialBlur(0.1);

?

OR

is canvas only allowed 1 context at a time?

Reply via email to