Illustrator: Border effect for a path


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

9/9/2011 8:43:00 AM

Accepted Answer

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!

9/10/2011 2:49:00 PM