0

If I have a line segment with a stroke on it in Illustrator, is there any way to snap to the edges of that stroke instead of the middle? I know I could convert the stroke to a path, but I don't want to do that because I may want to change the stroke width later on. I've included a screenshot below to demonstrate what I'm talking about.

screenshot

Is this possible? And, if not, are there any good workarounds?

3
  • I believe this was added to the new version. But even if it wasnt you can allways expand a copy of the stroke. (This leaves the stroke intact)
    – joojaa
    Feb 25 '21 at 19:30
  • Can you explain what you mean by "expand a copy of the stroke," @joojaa? Feb 26 '21 at 0:32
  • 1
    Ctrl+c, ctrl+f, expand, snap, delete/hide expanded shape
    – joojaa
    Feb 26 '21 at 5:38
2

The easiest way, like joojaa suggested, is to duplicate and expand (i.e. convert the stroke to a path). Then you group the two so you can transform them together.

If the path is closed you can play with the 'align stroke' parameter (stroke panel) to have it be internal or external.

1
  • Why store the expanded one you can allways remake it?
    – joojaa
    Feb 27 '21 at 16:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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