This page is work-in-progress. You can reach me on twitter or mail to rezoner1337@gmail.com

textBaseline

It's no different from original canvas, except baseline top has been fixed to be consistent between all browsers.

var layer = cq();

layer.textBaseline("top");
/* You can also set default baseline for all new instances of cq.Layer */

cq.textBaseline = "top"; // default is alphabetic



Have any questions? Don't hesitate to ask:

Post issues on github, support my work on gratipay author rezoner