In Illustrator, how do I cut off a protruding end of a line going through a circle (letter)?

In Adobe Illustrator CS5, I have a circle (the letter “O”) and a line going through it, like so:


Now, I want to remove the protruding south-east part of the line, for an end result similar to


but where the south-east end of the blue line extends all the way out to the edge of the black circle, making that end of the blue line follow the curve.

Rephrased, I only want to show the south-east of the blue line where it overlaps with the black shape. But the top-left and middle of the blue line should remain as is, even where they pass over the inside of the “O” or protrude into the north-west.

Could someone tell me a way to do this?


I figured out a way, but I’m very new to Illustrator (literally started using it last night), so I’m sure it’s far from ideal. Putting it here in case it helps someone else.

Make sure you’ve done Object > Path > Outline Stroke for the line.

Duplicate both the letter and the line. Select one of each, with the line stacked higher (on a higher “layer”) than the letter.

enter image description here

In the Pathfinder window, hold Option and click the “Intersect” button. You will now have a compound shape with only the parts of the blue line that overlapped the letter. If you hide the duplicate letter and line, it will look like this:

enter image description here

Now, add additional anchor points to both sides of the line inside the letter, then remove the old anchor points that were outside the letter. The line will no longer protrude outside, and the compound shape will show through. Made the line green to clarify:

enter image description here

All done:

enter image description here

Source : Link , Question Author : Henrik N , Answer Author : Henrik N

Leave a Comment