1. Choose the desired line type in the options toolbar.
2. Specify the start point of the first line segment. You can use the mouse or enter a coordinate in the console.
3. Specify the endpoint of the first line segment.
4. Specify the endpoints of additional line segments. Click the "Close" button in the options tool bar to close the sequence:
   If you need to undo a single line segment, you can do so by clicking the "Undo" button:
5. You can set the length or angle of the line to fixed values using the appropriate inputs in the options toolbar.