Categories
design education technology

Paint a dashed line with rounded corners in Photoshop

Dashed Line
Dashed Line
Photoshop and IllustratorIn Illustrator, it’s fairly easy to make a dashed line in which the dashes have rounded corners. In Photoshop, there’s more of a trick to it. I’ll show you how to do both here.

 

 

Illustrator Dashed Line with Rounded Corners

  1. Draw a line with the Pen tool.
Draw a line.
Draw a line.
  1. Open the Stroke panel (Window > Stroke).
  2. Increase the Weight. I set mine to 10pt.
Increase the Weight.
Increase the Weight.
  1. Click the Dashed Line box to turn your line into a series of dashes.
  2. Experiment with the widths of the Dash and the Gap in between dashes. I set my Dash to 20pt and the Gap to 15pt.
Dash and Gap
Dash and Gap
  1. To get rounded corners on the dashes, click on the Round Cap icon. This made my dashes too close together, so I changed my Gap to 20pt.
Round Corner
Round Corner

 

Photoshop Part 1: Create a Custom Brush

  1. Create a new 800px by 600px document with a white background. This file will be used just to create a custom brush.
New Document
New Document
  1. Select the Rounded Rectangle tool from the Tools panel.
Rounded Rectangle tool
Rounded Rectangle tool
  1. Set your foreground color to black by pressing D on your keyboard.
Black Foreground Color
Black Foreground Color
  1. Up in the Control panel, make sure that the tool is set to Shape layers.
Shape layers
Shape layers
  1. Set the radius up pretty high. I set mine to 100px. This determines the degree of roundness at the corners. We’re going to draw one very large dash.
Radius of 100px
Radius of 100px
  1. Draw a single huge dash with the Rounded Rectangle tool, in the middle of your image window.
Single Huge Dash
Single Huge Dash
  1. Press Ctrl+E (Mac: Cmd+E) to merge the shape layer onto the white background.
Merge Down
Merge Down
  1. Edit > Define Brush Preset.
Define Brush Preset
Define Brush Preset
  1. Give your brush a name. You will see that the brush is very large. You get better quality images if you reduce the size of a very large brush, rather than increase the size of a brush that was drawn too small.
  2. Click OK.
Name the Brush
Name the Brush
  1. Close the document. You don’t need to save it. Your brush is saved, which is all that matters.

 

Next page: Putting the Dash Brush into Action

1 reply on “Paint a dashed line with rounded corners in Photoshop”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.