Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I'd like to surround a path with a border (see the third illustration below). However, I cannot get it done without using Path -> Outline stroke. This is very inconvenient, as Outline stroke replaces the original path with a new, much more complicated one, and it becomes much harder to edit the path later.

I thought that maybe some border effect exists that I don't know of. Something like Outer glow (see the second illustration), but solid rather than a gradient. Is there such an effect?

enter image description here

share|improve this question
add comment

4 Answers 4

up vote 5 down vote accepted

I found it! It's actually very simple:

  1. Open the Appearance panel and add another stroke, two pixels wider than the green one. Make it black.
  2. Drag it down in the Appearance panel, so that it is below the green stroke.

Voilà - a border!

share|improve this answer
1  
That's the one to use. It's been there for quite a while, but a lot of folks haven't latched onto it. –  Alan Gilbertson Sep 12 '11 at 5:30
1  
Thank you, this is exactly what I needed –  Ryan Jun 9 '12 at 17:26
add comment

Try this:

Copy your original path. Lock it.

Paste in place.

Turn your copy into outlines. Unlock all.

Group the outline and the original.

It's a bit quick-and-dirty, and if you make changes you have to redo this sequence, but it preserves the editing capabilities you want.

share|improve this answer
    
So is there no better solution? I can't get it - why does Illustrator support an outer glow effect but not a border effect... –  Ilya Kogan Sep 10 '11 at 12:09
    
Sadly it doesn't appear there is. Unless you tinker with Offset Stroke some - although I've had a heck of a time really understanding how it works. –  Joel Glovier Sep 10 '11 at 14:30
add comment

This answer shows you how to use sub-layers inside your outline layer. This way you can acchieve the result @Lauren Ipsum is describing but with

  1. the flexibility to move your lines around and not accidently missing one of the underlying lines and
  2. having the possibility to save your "style" and reusing it on other lines later.
share|improve this answer
add comment

You can add more stroke in Appearance from Window/Appearance. Then Use the Stroke panel in Window/Stroke to Align Stroke to outside.

share|improve this answer
2  
I think this is similar to my answer, isn't it? –  Ilya Kogan Nov 7 '12 at 7:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.