HTML5 Canvas KineticJS Shadows

To apply shadows with KineticJS, we can set the shadowColor, shadowOffset, shadowBlur, and shadowOpacity properties when we instantiate a shape.  We can adjust the shadow properties after instantiation with the shadowColor(), shadowOffset(), shadowBlur(), and shadowOpacity() methods.

new window

Code Editor

Modified on January 16th, 2014 by Eric Rowell
comments powered by Disqus