Exploring the Pathfinder PaletteIn Chapter 2, we learned about using the basic drawing tools like the Rectangle tool and the Ellipse tool. Those tools are great on their own, but you'll often need to create shapes that are a bit more complex. Although you can use a variety of the tools we've mentioned so far in this chapter to create and edit paths of any shape, there are many times when it's far easier to combine simple shapes to create more complex ones. It can also be easier to edit existing shapes using other shapes rather than trying to adjust the anchor points of individual paths.Illustrator's Pathfinder palette, which you can open by choosing Window > Pathfinder, contains a wellspring of functions that you can perform with at least two selected paths. Combining Shapes with Shape ModesThe top row of the Pathfinder palette contains four functions, called shape modes , which are used to combine multiple selected shapes in different ways. Once a shape mode is applied, the resulting shape is referred to as a compound shape .When you create a compound shape from multiple selected objects, the resulting shape appears as a single object and takes on the attributes of the topmost object (Figure 4.55 ). Using the Direct Selection tool, you can select the individual objects in the compound shape and edit them. See the sidebar entitled "Illustrator Shape Modes and Photoshop Shape Layers" for additional functionality that you can take advantage of when using compound shapes. Figure 4.55. Here are some examples of the different possible shape modes you can apply.![]() It is certainly useful to be able to select the individual objects of a compound shape, but many times you just want to create a new shape that combines all of the selected shapes. To do so, you can expand a compound shape by clicking the Expand button in the Pathfinder palette. If, when you're creating a compound shape, you know that you want to expand it, you can hold the Option (Alt) key while clicking the Add, Subtract, Intersect, or Exclude buttons. This applies the function and expands the shape in one step.
Changing Paths with PathfindersThe functions in the second row of the Pathfinder palette are called pathfinders, and unlike with compound shapes, when you use pathfinders, they do not retain the original objects. Once you apply a pathfinder function, the paths are changed permanently (Figure 4.57 ). The following are the six pathfinder functions in the Pathfinder palette:Divide. One of the most often-used pathfinders, Divide takes all selected objects and breaks them apart into individual shapes based on their overlapping parts. Open paths act like knives and slice paths that intersect with them.Trim. The Trim pathfinder removes all overlapping areas from the selected paths.Merge. The Merge pathfinder removes all overlapping areas from the selected paths and joins all areas of the same color.Crop. The Crop pathfinder takes the topmost selected object and removes all objects and areas beneath it that fall outside of its path. Unfortunately, this pathfinder works on vector objects only and you can't use it to crop a raster image (you'll need Photoshop for that). This function ignores strokes on objects, so it's best to perform an Outline Paths function before applying the Crop pathfinder.Outline. The Outline pathfinder converts the selected shapes to outlines and divides the lines where they intersect.Minus Back. The Minus Back pathfinder is similar to the Subtract shape mode, only instead of using the top object to define the subtracted area, the function uses the bottom object. Figure 4.57. Here are some examples of the different possible pathfinder functions that you can apply.![]() |