Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Here we're going to look at creating strokes and dashed strokes to apply to our shape layers. Let me just point out that this treasure map has been drawn using some pirate custom shapes that I downloaded from Adobe Exchange, and if you wanted to do the same, they're right here. Pirates05 by Karl Bihlmeier. And they include the palm tree, the treasure chest, and the anchor. The others, the waves and the compass, just come from the standard custom shapes that are part of Photoshop itself.
Firstly, I want to put a stroke around my map. Now my map is derived from some rendered clouds, and then a vector mask, but it's going to function just as a shape layer would. The vector mask is just drawn with the Pen tool to create this rough outline of our Treasure Island. And there are a few layer effects applied to that, but what we're missing though is a Stroke layer effect. So whenever you want to put a stroke around a shape layer, the easiest way to do it is through a Stroke layer style, and I'm just going to increase the size of that.
So that's one issue. The other issue is a dashed stroke and this is a lot harder to achieve. I'm going to use my Pen tool just to create a pen path. Now I want to make sure that I'm working in my Pen Path mode, rather than my Shape Layer mode, and I don't want to be drawing this pen path on a new layer. So I'm going to come and crate a new blank layer and then draw the path to my hidden treasure, just by clicking and dragging with the Pen tool.
Now what I've created there is a work path. It's going to show up on my Paths panel as a work path, and I can now stoke that path by coming to the Paths panel menu and choosing Stroke Path. When you use this you can stroke a path using any of your painting or retouching tools, and then we'll use whatever that tool we last used. So if I choose my Brush, I don't even remember what the last use of my brush was, but I doubt it's going to be what I want, but let's just see what I get.
Click OK and it's just a black stroke. Okay, so what we need to do though is stroke the pen path with a dashed stroke. So I'm going to undo that, and the best way to create a dashed stroke. And this is not going to end up being a shape layer. This is going to end up being pixels, but there really is no other way of doing it. So it's a bit of a work around really rather than a feature. But what I need to is choose my Brush tool and set up my brush options first of all. Now for a dash stroke, I need a square brush, so I'm going to come to my brush picker and I'm going to choose Square Brushes. And do I want to append these, or do I want to replace what's already there? I think I want to append them, so those square brushes are going to end up being at the bottom of my brush list.
So I'm going to choose that one maybe, a 16 pixel. That might be a little bit on the big side. Maybe a 12 pixel brush. Let's just paint with that and see how wide that looks. Yeah, maybe go down in size a fraction, so I'm just going to press my left bracket couple of times, go down to 9 pixels, or try that once again. Still not going to work, but I want you to see why it's not going to work. So when I fill it now, it's sharp. Well, it's the step in the right direction, but we don't have any dashes there.
So I'm going to undo that and now I need to come to my Brush panel. Come to my Brush panel where I'm going to change my brush spacing. So I want the Spacing to be probably 200% so that we have the size of the brush itself working as the size of the dash. Let's just type that in, 200%. Now in addition to that I also need to sort out the angle of the brush, because otherwise--and if we just go ahead and stroke it now--we can see that that dash is not angling to follow the line of the pen path.
So I'll undo that and then we need to come to the Shape Dynamics, and in this area here Angle Jitter, I'm going to turn the Angle Jitter down to 0 and the Control is going to be changed to Direction. So now when we go ahead and apply the stroke, we get those squares of the brush stroke actually following the shape of our pen path.
And because we've chosen New Layer, that has actually gone onto a new layer and we can now come and deselect the path and that's going to go away. So not really a feature so much as a workaround, but if you do need to achieve a dashed line, then that's the best way to do it.
Get unlimited access to all courses for just $25/month.Become a member
117 Video lessons · 42931 Viewers
119 Video lessons · 54262 Viewers
65 Video lessons · 14519 Viewers
113 Video lessons · 82898 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.