Canvas Cheat Sheet

HTML5 Canvas Cheat Sheet

HTML5 Canvas Drag and Drop a Line with KineticJS

Discussion

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.

comments powered by Disqus