Open yar3333 opened 9 years ago
See the fiddle: https://jsfiddle.net/yar3333/bqj7fute/
Code:
var stage = new createjs.Stage("canvas"); var obj = new createjs.Shape(); stage.addChild(obj); obj.graphics .beginFill("rgba(128, 128, 128, 0.6)") .rect(0, 0, 100, 100) .endFill(); var obj2 = obj.clone(); obj2.x = 150; stage.addChild(obj2); obj2.filters = [ new createjs.BlurFilter(2, 2) ]; obj2.cache(0, 0, 100, 100); stage.update();
If you change alpha=0.6 to alpha=0.4 then image become fully invisible.
alpha=0.6
alpha=0.4
Solution: https://github.com/CreateJS/EaselJS/pull/617
We will review the pull request for the next version.
See the fiddle: https://jsfiddle.net/yar3333/bqj7fute/
Code:
If you change
alpha=0.6
toalpha=0.4
then image become fully invisible.