mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
"TODO: implement radial gradient generation"
This commit is contained in:
parent
b65a850997
commit
f387267c0f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user