# Drawing a straight line

Drawing a straight line enables you to connect two points with the shortest possible line.

Notes

1. You can draw a perfectly horizontal, vertical, or 45-degree diagonal line by holding down SHIFT while dragging.
2. 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.

See also

Drawing a curved line