Best way to know when a user has drawn a line
Posted: 21 Jul 2014, 20:48
I need to programmatically detect when a user has just finished drawing a line so that I can record that line's start and end points. Of course MouseUp is a possibility, but I see that Undo/Redo is recording this action, so I wondered if the entire line drawing action is already being captured so that the action as whole can be retrieved. In other words is there a built in feature that makes it easy to know when a line was drawn and whats its end points are?