Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

This question already has an answer here:

In Illustrator how can I merge this roof vector to the background of the square?

enter image description here

roof and square

share|improve this question

marked as duplicate by Random O'Reilly, Scott, Yisela Mar 2 at 19:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
I'm finding it difficult to understand what you want the end result to be. Could you include an illustration (perhaps done with Photoshop) of what the finished product should look like? –  JohnB Mar 2 at 12:57
    
I have the feeling that a clipping mask is what you desire. Do you want it to look like this? –  Bart Arondson Mar 2 at 13:15

1 Answer 1

up vote 1 down vote accepted

As @Bart Arondson has pointed out, what you want to use is a clipping mask.

This is how it works:

You need to group your roof-tiles first. Select all of them with the black selection arrow, and use cmd+G or go to Object -> Group.

Then you make sure your square is on top of the roof-tiles group. Pretend this multicoloured pattern is your roof.

Select both roof and box and go to Object -> Clipping mask -> make:

enter image description here

That should give you this result:

enter image description here

share|improve this answer

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