标签: createjs
答案 0 :(得分:2)
正如Lanny所建议的那样,将alpha应用于实际笔划,而不是应用于Shape。您可以使用Graphics方法来帮助解决这个问题。
例如: // set the brush color to red with the current brush alpha: this.brushColor = createjs.Graphics.getRGB(255, 0, 0, this.brushAlpha);
// set the brush color to red with the current brush alpha: this.brushColor = createjs.Graphics.getRGB(255, 0, 0, this.brushAlpha);