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

clear

Clear canvas or fill it with a color.

var layer = cq();

/* clear the layer using clearRect */

layer.clear();

/* fill the layer using fillRect */

layer.clear("#000000");


Have any questions? Don't hesitate to ask:

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