Graphics2D
Graphics2D copied to clipboard
Gradients with other color spaces
For example, a gradient using Lab:
var grad = ctx.gradient('linear:lab', ['red', 'green'], 'top', 'bottom');