How to stop further shadowing

suggest change

Once shadowing is turned on, every new drawing to the canvas will be shadowed.

Turn off further shadowing by setting context.shadowColor to a transparent color.

// start shadowing
context.shadowColor='black';

... render some shadowed drawings ...

// turn off shadowing.
context.shadowColor='rgba(0,0,0,0)';

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents