Let's say I've made a custom brush in Illustrator (this example is stripped down, but it's enough to get the point across):

Example image 1

The stroke starts at the bottom and loops around. There are two intersections, and if you're following the stroke, the layering is as you'd expect: Each intersection will have the newer part of the stroke go over the older part.

But what if I wanted to alter the order of the stroke? I created an example of what I want to do below by outlining the stroke and adding drop shadows for emphasis:

Example image 2

At the first intersection, the stroke goes over itself, but at the second intersection it goes underneath.

Is it possible to achieve this without outlining the stroke first? If not, does other software allow for something like this?

As an ancillary question, are there any known rules to how the layering works? Sometimes I've altered a curve and the order flips...very confusing.

  • Things "flip" due to the path direction. The direction of the path determines what is on top. If you use the pen tool to simply click an end anchor, you'll see the path direction change.
    – Scott
    Nov 27, 2013 at 18:36

1 Answer 1


There is no control in Illustrator to set the stacking order of various parts of a continuous stroke.

You have to go old-school and manually adjust the stacking. To that, you'll have to cut the stroke into multiple paths, or duplicate and mask the "over" versus "under" parts.

Hasty example of adjusting path pieces to emulate over / under stacking

As for how the layering work, it is based on the path direction. First drawn nodes are overlaid by later drawn nodes. So if you happen to reverse the path direction (say clockwise to counter-clockwise) the layering will reverse as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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