Skip to content

Commit f387267

Browse files
author
André Fiedler
committed
"TODO: implement radial gradient generation"
1 parent b65a850 commit f387267

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Generate.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ _html2canvas.Generate.Gradient = function(src, bounds) {
166166
ctx.fillRect(0, 0, bounds.width, bounds.height);
167167

168168
img.src = canvas.toDataURL();
169+
} else if(gradient && gradient.type === 'radial'){
170+
// TODO: implement radial gradient generation
171+
h2clog('No radial gradient support implemented');
169172
}
170173

171174
return img;

0 commit comments

Comments
 (0)