Like "FreeForm", where you can draw basic shapes like Straight Line, Perfect circle, squares.... only holding in the end your pencil.
Other way could be clicking in the stroke and select "refine shape" or similar.