A drag drawn line.
A drag drawn line. This is not a straight line, but can be a free-form, curved path.
Draw the completed line.
Handle the left mouse button coming up in the ‘drawing’ state.
Handle the mouse moving in ‘drawing’ state.
Handle the left button down in the ‘normal’ state.
Causes the tool to reset any saved state and revert its event_state back to the initial value (usually “normal”).
vertex_color= (0.0, 0.0, 0.0, 0.0)¶