paint application with kinetic js
问题 I have made a drag and drop application in HTML5 canvas with kinetic js. Can we also add the paint brush functionality to the same canvas using kinetic js? If yes, please share the link for one such application, and also the code, if possible. 回答1: You can use mouse events to let the user create a sketch on the canvas. Here's how to let the user create a Kinetic polyline. On mousedown: Set a mousedown flag to true (indicating that the user is sketching) Create a new Kinetic Line object On