From 8545cc5f7f6094bc559a40c3c8e6a68c2a642ffe Mon Sep 17 00:00:00 2001 From: MoyuScript Date: Mon, 5 Mar 2012 23:22:01 +0000 Subject: [PATCH] "TODO: implement radial gradient generation" --- src/Generate.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Generate.js b/src/Generate.js index e23d1f8..b1cb725 100644 --- a/src/Generate.js +++ b/src/Generate.js @@ -166,6 +166,9 @@ _html2canvas.Generate.Gradient = function(src, bounds) { ctx.fillRect(0, 0, bounds.width, bounds.height); img.src = canvas.toDataURL(); + } else if(gradient && gradient.type === 'radial'){ + // TODO: implement radial gradient generation + h2clog('No radial gradient support implemented'); } return img;