HTML5 Canvas Drag and Drop a Line with KineticJS

To drag and drop a line with KineticJS, we can set the draggable property of the config object to true when the line is instantiated, or we can use the setDraggable() method.

new window

Code Editor

Modified on April 9th, 2013 by Eric Rowell
comments powered by Disqus