CanvasContext.setStrokeStyle(string|CanvasGradient color)

    代码示例