As found here:
KineticJS – Drawing Lines with Mouse
KineticJs works great in order to draw lines, shapes and drag&drop them.
The actual example redraw always the same line, i wonder how to draw multiple lines (no more editable) on the stage in order to export the draw as image.
You could create a new line and add it to the layer on mousedown.
Check demo: http://jsfiddle.net/QTsgn/