add draw straight line option.
add draw straight line option