CanvasContext.setFillStyle(string|CanvasGradient color)

    代码示例