title: kinetic.js stage.getDragLayer method
body: <p>I am trying to learn some kinetic.js. I heve some problem with following example:</p>
  
  <p><a href="http://www.html5canvastutorials.com/labs/html5-canvas-modify-curves-with-anchor-points-using-kineticjs/" rel="nofollow">http://www.html5canvastutorials.com/labs/html5-canvas-modify-curves-with-anchor-points-using-kineticjs/</a></p>
  
  <p>What does this part actually do:</p>
  
  <pre><code>stage.getDragLayer().beforeDraw(function() {
        drawCurves(curveLayer.getCanvas(), layer.quad, layer.bezier);
        updateDottedLines(layer);
      });
  </code></pre>
  
  <p>I mean getDragLayer() method and beforeDraw() method.</p>