Creates a new document, 10x1 pixels.
Enlarge the image, use a rectangle to make a selection, fill the black.
CTRL + A Select all, edit > Define pattern.
New document, size, build new layer, select Single Line marquee tool, draw a selection, fill with the pattern you just defined.
Remove the selection, the effect is as follows.
Vertical dotted line method, the first step of the new document size to 1x10 pixels, draw an erect rectangle, fill the black, define the pattern can be the same as the other steps.
Build a new layer, select a single column marquee tool, do 1 pixel selection, with the last step defined pattern fill, the final effect is as follows.
This is a way to simulate a dashed line by defining a pattern, and the next tutorial explains how to draw a dashed line with a brush, simpler.
Category:
- PS Getting Started Tutorial