Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Design

Simply what is the clipping mask and the compound path?

Use an a simple example please :)

1 Answer

Codin - Codesmite
Codin - Codesmite
8,600 Points

Clipping Mask:

A clipping mask clips the visible boundaries of successive layers.

For example if I had a layer with a rectangular photograph successive to a clipping mask that had a circle shape, the photograph would be clipped to the size of the circle shape.

Compound Path:

A compound path acts like a group of objects.

For example if I had a circle and square object that intersected with each other and I merged them together or intersected them, the result would be a compound path of the two objects.