Canvas Cheat Sheet

HTML5 Canvas Cheat Sheet

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.

comments powered by Disqus