CanvasGradient 方法列表 CanvasGradient 解释:渐变对象, CanvasContext.createLinearGradient 的返回值。 方法列表 方法 说明 addColorStop 创建一个颜色的渐变点。