CanvasContext.setShadow(number offsetX, number offsetY, number blur, string color) 设定阴影样式。 阴影相对于形状在竖直方向的偏移,默认值为 0。 阴影的颜色。默认值为 black。 示例代码