2d.gradient.object.return

createLinearGradient() and createRadialGradient() returns objects implementing CanvasGradient