How to draw a shadow only on the right and bottom of an object in createjs. There is no shadow above the object or above and to the left.
the shadow contains only 4 parameters
1. shadow color 2. x 3. y 4. The effect of blur, but he did not say anything about 4 different sides.
var box = createjs.Shape(); box.shadow = new createjs.shadow('#000',4,4,5);
the above code generates a portion of the blur on top of the top and left of the object.
source share