2

I have a box with a list of labels inside of it and a separator line between each label. Now I want to cut all these shapes by a vertical line, say remove the left 50% part and keep the right 50% part with a "razor sharp" cutting edge. Pretty much the same as how you in Photoshop select an area of a rasterized layer, invert the selection and delete the outside of the selection. How do I achieve this with vectorized graphics in Illustrator? Expand and then select -> remove, rasterize -> select remove...? I can't get it to work.

EDIT : Illustration of what I'm trying to do.

enter image description here

  • which version of AI? Screen shot? – vector Jun 19 '13 at 13:24
  • @vector it's CS6, I've updated the question. Thanks – AndroidHustle Jun 19 '13 at 13:30
  • @vector Thanks! I started out trying what you described, I draw a rectangle over the area I wanted trimmed, selected all elements, right clicked, but then tried creating a clipping mask. Then everything BUT what I wanted trimmed disappeared, so I simply did it again but the other way around and it worked. So thanks. =) – AndroidHustle Jun 19 '13 at 13:40
  • ... so if I make that an answer, you'd take it? – vector Jun 19 '13 at 14:03
  • @vector sure, no problem – AndroidHustle Jun 19 '13 at 14:11
2

Clipping mask.

Draw a rectangle which covers the section you want to keep.

Select the rectangle and the objects you wish to clip and then choose Object > Clipping Mask > Make from the menu.

This will mask the portion you do not want visible. This is similar to a layer mask in Photoshop as opposed to deleting raster bits in Photoshop.

The benefit of a clipping mask is that it doesn't remove or alter the underlying artwork. In this case, it will keep your text in tact so you can edit it further should you need to and a clipping mask won't change the length of the gradients (which would cause the need to reset the gradient fills).

enter image description here

| improve this answer | |

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.