title: Understanding Canvas & KineticJS layer clearing
body: <p>I wondered if anyone could shed some light on the way in which layers are managed in Canvas and KineticJS. I'm struggling understand why when i clear(); a layer, then use the draw(); function on that layer again, it comes back with the shapes etc that I originally add to that layer.</p>
  
  <p>for example: </p>
  
  <p><a href="http://jsfiddle.net/vPGbz/1/" rel="noreferrer">http://jsfiddle.net/vPGbz/1/</a></p>
  
  <p>I assumed clearing a layer completely removes it, and in order to redraw it i would have to set up new shapes and construct a new layer.</p>
  
  <p>If anyone could explain this too me I would be very thankful.</p>
  
  <p>Cheers, Caius</p>