Hold Shift to constrain the angle of the line.
Or
Click Close Path [ICON] in DesignCentral.
Close Path Cursor
Closed Path
See Also
Creating Paths
Drawing Curved Segments Using the Bezier Path Tool
Drawing Arcs Using the Bezier Path Tool
Drawing Segments Using the Freehand Drawing Tool
Converting Objects into Paths
Converting Stroke to Outlines