When you connect lines, lines are drawn between neighboring endpoints.
Select two or more lines.
Right-click and choose Shape - Connect.
To create a closed object, right-click a line and choose \<emph\>Close Object\</emph\>.
You can only use the \<emph\>Close Object\</emph\> command on connected lines, \<emph\>Freeform Lines \</emph\>and unfilled \<emph\>Curves\</emph\>.