I’m going to use a custom shape here - a star. First open a new document 250 x 250px. Then select the Custom Shape Tool (shortcut U). In the top menu bar select the Star from the set that ships with Photoshop. Now draw a star on the canvas. Hold down shift to keep the proportions of the star and then space to position the star where you want it.
Now in the layers panel right click the layer you have just created and choose Blending Options. Add a stroke of 10px outside.
Your shape should now look like this.
We can also use layer styles to add a second stroke. Here’s how to do it. Right click the layer again and choose blending options to get the layer style dialog again. This time select Outer Glow. By default the Blend Mode of Outer Glow is Screen. You need to change this to Normal. Move the Opacity up to 100%. Under Elements change the technique to Precise. Move the Spread to 100% and the Size to 20px. Remember that Photoshop draws this from the edge of the shape so if we want our second stroke to also be 10px we need to allow for the 10px of the first stroke.
That’s it - you now have a stroke on a stroke!
If you want to save this layer style for reuse simply open the style panel and then with your layer selected choose New Style. Give your style a suitable name and it will sit there ready to apply in the future.
Have an update or suggestion for this article? You can edit it here and send me a pull request.
Listening to BBC Radio with mpv
The BBC publishes high quality 320 kbps HLS AAC streams that can be used to listen to radio from the command-line using mpv. Here are the URLs and some aliases to start listening quickly.
Vim: So long Pathogen, hello native package loading
Vim 8 added a native way to load third-party packages. This means, for me at least, there is no longer any need to use a third party plugin helper like Pathogen.
Linux and Unix more command tutorial with examples
Tutorial on using more, a UNIX and Linux command for viewing the contents of a file or files one screen at a time. Examples of viewing a file, viewing multiple files, searching using regular expressions and opening the file in a text editor.