Trying To Delete Inverse Shape Around An Object In Illustrator CS5


I am new to Illustrator and am still trying to wrap my mind around the concept of vector shapes.

In Photoshop, I used to make a glare very easily. I would write text and then I would put a rectangular marquee shape over the text. I would then fill it with a gradient of white to transparency and turn the opacity down until it created the effect on the text. I would then take the magic wand and basically delete the entire marquee shape except for the part where it overlapped with the text thus just having the glare on the text and not on the background.

I'm trying to do the same for Illustrator. I've created a logo and then put a rectangular shape over top of the logo and filled it with a gradient and changed the opacity. I can't for the life of me figure out how to delete the negative space of the rectangular shape now so it just overlays on the logo and not all around the logo. Does my description make sense? And if so, does anybody have a solution? Thanks.

2/13/2012 5:50:00 PM

Accepted Answer

The correct way is the same in Illustrator as in Photoshop though the mechanics are slightly different.

  1. In illustrator type your text.
  2. Create a shape with your gradient.
  3. Move shape behind your text.
  4. Select both
  5. Object -> Make -> Create clipping mask

To save you time in Photoshop from now on you can do the exact same thing.

  1. Type
  2. Whatever fill you want on a different layer
  3. Put the type UNDER (as opposed to above in Illustrator)
  4. Right click on the fill layer in your layer pallette and choose Create Clipping Mask.

This works not only for gradients but also if you want a photo or other image to become the shape of the text. Enjoy.

2/13/2012 6:42:00 PM

Use the Pathfinder tool to intersect the shapes...

  1. Make your text Some Text
  2. Make your shape over the text Some Shape
  3. Intersect the shapes Shape Intersection
  4. Final result Final Result

You can expand the compound object if you wish, but beware that effects/gradients are calculated from shape edges, so expanding can change the visual effect: Not expanded Expanded