1.
In the toolbox, click Line .
2.
Drag the pointer to draw the line.
Note
When you drag the pointer, the foreground color is used. To use the background color, hold down the right mouse button and drag the pointer.
Draw a curved line
Draw a straight line