The
Pencil tool
creates
hard-edged freehand lines.
.)
To draw a straight line, click a starting
point in the image. Then hold down Shift and click an ending point.You can specify any of the following Pencil tool options: