add_line function

Add line or area