My stroke seems to be getting out from the edge of my illustration.

I have looked in both the stroke panel and anchor points, but I can't seem to find a solution.

Screenshot of stroke extending beyond illustration boundary

I just want the stroke to stay inside, and not go outside the line. Any help appreciated.


What you're looking for is called a clipping mask. Just copy the object you want to mask in front of the object(s) you want to clip. Select the objects and clip mask and choose Edit → Clipping Mask → Make.

The alternative is to expand the stroke and shape it so it's inside your box. But I would stick with clipping masks in this case.

  • Does not work, because i am basically using the same object and therefore it makes the strokes go outside once more. Sep 14 '15 at 21:02
  • This is actually the correct answer. Maybe you missed a step? I encourage you to try again.
    – KMSTR
    Sep 15 '15 at 7:57

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.