mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
"added TODO"
This commit is contained in:
parent
4dc4132818
commit
6cf3d36624
@ -355,6 +355,8 @@ _html2canvas.Generate.Gradient = function(src, bounds) {
|
||||
|
||||
img.src = canvas.toDataURL();
|
||||
} else if(gradient && gradient.type === 'radial'){
|
||||
|
||||
// TODO: Add support for "ellipsis" drawing
|
||||
grad = ctx.createRadialGradient(gradient.cx, gradient.cy, 0, gradient.cx, gradient.cy, gradient.rx);
|
||||
|
||||
for (i = 0, len = gradient.colorStops.length; i < len; i+=1) {
|
||||
|
Loading…
Reference in New Issue
Block a user