Use the Pen Tool in Photoshop to draw clean straight lines, dotted lines and smooth curves. It suits beginners who want precise lines for shapes, paths or illustrations. You only need Photoshop open on a blank canvas and the Pen Tool shortcut P.
YouTube video: How to draw straight line and curved line in Photoshop using Pen Tool with shortcut
Caption availability is unknown. Check the CC control in the YouTube player.
Choose a chapter (7)
- Video length
- 3 min 9 s
- Time to do it
- 10 minutes
- Difficulty
- Easy
- Steps
- 8
What you need
Steps
Open your document and press P to select the Pen Tool. Make sure the mode in the options bar is set to Path, not Shape.
Click once on the canvas to place your first anchor point. Click a second time where you want the line to end.
Photoshop connects the two points with a straight line. Hold Shift while clicking to keep the line perfectly horizontal, vertical or at 45 degrees.
To colour the line, set the foreground colour, then right-click the path and choose Stroke Path. Pick Brush or Pencil and click OK.
For a dotted line, select the Brush Tool and choose a small round hard brush with wide spacing in the Brush Settings panel.
Draw the path again with the Pen Tool, then right-click it and choose Stroke Path to apply the dotted brush along the line.
To add a point, hover over the line until a plus sign appears and click. This splits the segment without changing its shape.
To make a curve, click the middle point and drag it sideways. The straight line bends into a smooth curve you can adjust.
Tips and common mistakes
Press and hold Ctrl or Cmd to temporarily switch to the Direct Selection tool and move points or handles.
If the line disappears after stroking, check that a brush is selected and the foreground colour is not white on a white background.
Use a separate layer for each stroked line so you can edit or delete it without touching the rest of the artwork.
Questions
Why does my Pen Tool create a filled shape instead of a line?
The tool is set to Shape mode in the options bar. Switch it to Path, draw your line, then stroke the path with a brush.
How do I delete a line I just drew?
Press Delete to remove the last anchor point, or select the path with the Path Selection tool and press Delete to remove the whole path.
Can I edit the curve after stroking it?
Not on the stroked pixels. Keep the original path and stroke it again on a new layer if you need to change the shape.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


