- Illustrator User Guide
- Get to know Illustrator
- Introduction to Illustrator
- Workspace
- Workspace basics
- Learn faster with the Illustrator Discover panel
- Create documents
- Toolbar
- Default keyboard shortcuts
- Customize keyboard shortcuts
- Introduction to artboards
- Manage artboards
- Customize the workspace
- Properties panel
- Set preferences
- Touch Workspace
- Microsoft Surface Dial support in Illustrator
- Undo edits and manage design history
- Rotate view
- Rulers, grids, and guides
- Accessibility in Illustrator
- Safe Mode
- View artwork
- Use the Touch Bar with Illustrator
- Files and templates
- Tools in Illustrator
- Tools at a glance
- Select tools
- Navigate tools
- Paint tools
- Text tools
- Draw tools
- Modify tools
- Generative AI (not available in mainland China)
- Quick actions
- Illustrator on the web (beta)
- Illustrator on the web (beta) overview
- Illustrator on the web (beta) FAQ
- Troubleshooting issues FAQ
- Keyboard shortcuts for Illustrator on the web (beta)
- Create and combine shapes on the web
- Add and edit text on the web
- Apply colors and gradients on the web
- Draw and edit paths on the web
- Work with cloud documents on the web
- Invite collaborators to edit on the web
- Illustrator on the iPad
- Introduction to Illustrator on the iPad
- Workspace
- Documents
- Select and arrange objects
- Drawing
- Type
- Work with images
- Color
- Cloud documents
- Basics
- Troubleshooting
- Add and edit content
- Drawing and dimensioning
- Drawing basics
- Edit paths
- Draw pixel-perfect art
- Draw with the Pen, Curvature, or Pencil tool
- Draw simple lines and shapes
- Draw rectangular and polar grids
- Draw and edit flares
- Image Trace
- Simplify a path
- Symbolism tools and symbol sets
- Adjust path segments
- Design a flower in 5 easy steps
- Create and edit a perspective grid
- Draw and modify objects on a perspective grid
- Use objects as symbols for repeat use
- Draw pixel-aligned paths for web workflows
- Measure and plot dimensions
- 3D objects and materials
- Color
- Painting
- Select and arrange objects
- Reshape objects
- Crop images
- Transform objects
- Combine objects
- Cut, divide, and trim objects
- Puppet Warp
- Scale, shear, and distort objects
- Blend objects
- Reshape using envelopes
- Reshape objects with effects
- Build new shapes with Shaper and Shape Builder tools
- Work with Live Corners
- Enhanced reshape workflows with touch support
- Edit clipping masks
- Live shapes
- Create shapes using the Shape Builder tool
- Global editing
- Type
- Add text and work with type objects
- Create bulleted and numbered lists
- Manage text area
- Fonts and typography
- Convert text within images into editable text
- Add basic formatting to text
- Add advanced formatting to text
- Import and export text
- Format paragraphs
- Special characters
- Create type on a path
- Character and paragraph styles
- Tabs
- Find missing fonts (Typekit workflow)
- Arabic and Hebrew type
- Fonts | FAQ and troubleshooting tips
- Create 3D text effect
- Creative typography designs
- Scale and rotate type
- Line and character spacing
- Hyphenation and line breaks
- Spelling and language dictionaries
- Format Asian characters
- Composers for Asian scripts
- Create text designs with blend objects
- Create a text poster using Image Trace
- Create special effects
- Web graphics
- Drawing and dimensioning
- Import, export, and save
- Import
- Creative Cloud Libraries in Illustrator
- Save and export
- Printing
- Prepare for printing
- Printing
- Automate tasks
- Troubleshooting
Learn how to combine objects in Illustrator.
You can combine vector objects to create shapes in a variety of ways in Illustrator. The resulting paths or shapes differ depending on the method you use to combine the objects.
Methods of combining objects
Pathfinder effects
Pathfinder effects let you combine multiple objects using interaction modes. When you use Pathfinder effects, you can’t edit the interactions between objects. See Combine objects using Pathfinder effects.
Compound shapes
Compound shapes let you combine multiple objects and specify how you want each object to interact with the other objects. Compound shapes are more versatile than compound paths because they provide four kinds of interactions: add, subtract, intersect, and exclude. In addition, the underlying objects aren't changed, so you can select each object within a compound shape to edit it or change its interaction mode. See Combine objects using compound shapes.
Compound paths
Compound paths let you use an object to cut a hole in another object. For example, you can create a doughnut shape from two nested circles. Once you create a compound path, the paths act as grouped objects. You can select and manipulate the objects separately using the Direct Selection tool or Group Selection tool; or you can select and edit the combined path. See Combine objects using compound paths.
You can also add to an object by using the Blob Brush tool. When you use this brush, paths you paint are added to adjacent paths that use identical fill attributes. See Draw and merge paths with the Blob Brush tool and Building new shapes using the Shape Builder tool.
Combine objects using Pathfinder effects
Navigate the Pathfinder panel
You use the Pathfinder panel (Window > Pathfinder) to combine objects into new shapes.
Use the top row of buttons in the panel to make paths or compound paths. To make compound shapes, use the buttons in those rows while pressing the Alt or Option key.
Choose from the following shape modes:
Add To Shape Area
Adds the area of the component to the underlying geometry.
Subtract from Shape Area
Cuts out the area of the component from the underlying geometry.
Intersect Shape Areas
Uses the area of the component to clip the underlying geometry as a mask would.
Exclude Overlapping Shape Areas
Uses the area of the component to invert the underlying geometry, turning filled regions into holes and vice versa.
Use the bottom row of buttons in the panel, called Pathfinder effects, to create final shape combinations on the first click. (See Apply Pathfinder effects.)
A. All components in Add mode B. Subtract mode applied to squares C. Intersect mode applied to squares D. Exclude mode applied to squares
Specify Pathfinder options
Set Pathfinder Options from the Pathfinder panel menu or by double-clicking a Pathfinder effect in the Appearance panel.
Precision
Affects how precisely the Pathfinder effects calculate an object’s path. The more precise the calculation, the more accurate the drawing and the more time is required to generate the resulting path.
Remove Redundant Points
Removes unnecessary points as you click a Pathfinder button.
Divide And Outline Will Remove Unpainted Artwork
Deletes any unfilled objects in the selected artwork as you click the Divide or Outline button.
Apply Pathfinder effects
Pathfinder effects let you create new shapes out of overlapping objects. Apply Pathfinder effects by using the Effects menu or the Pathfinder panel.
Pathfinder effects in the Effects menu can only be applied to groups, layers, and text objects. After you apply the effect, you can still select and edit the original objects. You can also use the Appearance panel to modify or remove the effect. See Apply a Pathfinder effect using the Effects menu.
Pathfinder effects in the Pathfinder panel can be applied to any combination of objects, groups, and layers. The final shape combination is created when you click a pathfinder button; after that, you can't edit the original objects. If the effect results in multiple objects, they are automatically grouped together. See Apply a Pathfinder effect using the Pathfinder panel.
Apply a Pathfinder effect using the Effects menu
-
Do one of the following:
Group together the objects you want to use, and select the group.
-or-
Move the objects you want to use into a separate layer, and target the layer.
-
Choose Effect > Pathfinder and choose a Pathfinder effect.Notă:
To quickly apply the same Pathfinder effect again, choose Effect > Apply [effect].
Apply a Pathfinder effect using the Pathfinder panel
-
Select the objects to which you want to apply the effect.
To apply a Pathfinder effect to a group or layer, target the group or layer.
-
In the Pathfinder panel, click a pathfinder button (in the bottom row), or Alt‑click (Windows) or Option‑click (Mac OS) a Shape Mode button (in the top row).
Summary of Pathfinder effects
Add
Traces the outline of all objects as if they were a single, merged object. The resulting shape takes on the paint attributes of the top object.
Intersect
Traces the outline of the region overlapped by all the objects.
Exclude
Traces all nonoverlapping areas of the objects, and makes overlapping areas transparent. Where an even number of objects overlap, the overlap becomes transparent. Where an odd number of objects overlap, the overlap becomes filled.
Subtract
Subtracts the frontmost objects from the backmost object. You can use this command to delete areas of an illustration by adjusting the stacking order.
Minus Back
Subtracts the objects in back from the frontmost object. You can use this command to delete areas of an illustration by adjusting the stacking order.
Divide
Separates a piece of artwork into its component-filled faces (a face is an area undivided by a line segment).
Note: When you use the Divide button in the Pathfinder panel, you can use the Direct Selection or Group Selection tool to manipulate the resulting faces independently of each other. You can also choose to delete or preserve unfilled objects when applying the Divide command.
Trim
Removes the part of a filled object that is hidden. Removes any strokes and doesn't merge objects of the same color.
Merge
Removes the part of a filled object that is hidden. Removes any strokes and merges any adjoining or overlapping objects filled with the same color.
Crop
Divides artwork into its component-filled faces, and then deletes all the parts of the artwork that fall outside the boundary of the topmost object. It also removes any strokes.
Outline
Divides an object into its component line segments, or edges. This command is useful for preparing artwork that needs a trap for overprinting objects. See Create a trap.
Note: When you use the Outline button in the Pathfinder panel, you can use the Direct Selection or Group Selection tool to manipulate each edge independently. You can also choose to delete or preserve unfilled objects when applying the Outline command.
Hard Mix
Combines colors by choosing the highest value of each of the color components. For example, if Color 1 is 20% cyan, 66% magenta, 40% yellow, and 0% black, and Color 2 is 40% cyan, 20% magenta, 30% yellow, and 10% black, the resulting hard color is 40% cyan, 66% magenta, 40% yellow, and 10% black.
Soft Mix
Makes the underlying colors visible through the overlapping artwork, and then divides the image into its component faces. You specify the percentage of visibility you want in the overlapping colors.
Trap
Compensates for potential gaps between colors in artwork by creating a small area of overlap (called a trap) between two adjoining colors.
Combine objects using compound shapes
A compound shape is editable art consisting of two or more objects, each assigned a shape mode. Compound shapes make it easy to create complex shapes because you can precisely manipulate the shape mode, stacking order, shape, location, and appearance of each path included.
Compound shapes act as grouped objects and appear as <Compound Shape> items in the Layers panel. You can use the Layers panel to show, select, and manipulate the contents of a compound shape—for example, to change the stacking order of its components. You can also use the Direct Selection tool or the Group Selection tool to select components of a compound shape.
When you create a compound shape, it takes on the paint and transparency attributes of the topmost component in Add, Intersect, or Exclude mode. Subsequently, you can change the paint, style, or transparency attributes of the compound shape. Illustrator facilitates this process by automatically targeting the whole compound shape when you select any part of it, unless you explicitly target a component in the Layers panel.
A. Original objects B. Compound shape created C. Individual shape modes applied to each component D. Style applied to entire compound shape
Create a compound shape
-
Select all the objects you want to be part of the compound shape.
You can include paths, compound paths, groups, other compound shapes, blends, text, envelopes, and warps in a compound shape. Any open paths you select are automatically closed.
-
Do one of the following:
In the Pathfinder panel, Alt-click (Windows) or Option-click (Mac OS) a Shape Modes button. Each component of the compound shape is assigned the shape mode you select.
-or-
Select Make Compound Shape from the Pathfinder panel menu. Each component of the compound shape is assigned the Add mode by default.
-
Change the shape mode of any component by selecting it with the Direct Selection tool or Layers panel and clicking a Shape Mode button.
Note: You never need to change the mode of the backmost component, because that mode isn't relevant to the compound shape.
Notă:To sustain maximum performance, create complex compound shapes by nesting other compound shapes (containing up to about 10 components each) instead of using many individual components.
Modify a compound shape
-
Use the Direct Selection tool or Layers panel to select an individual component of the compound shape.
-
Look for the highlighted Shape Mode button in the Pathfinder panel to identify which mode is currently applied to a selected component.Notă:
If you’ve selected two or more components that use different modes, question marks appear on the Shape Mode buttons.
-
In the Pathfinder panel, click a different Shape Mode button.
Release and expand a compound shape
Releasing a compound shape separates it back into separate objects. Expanding a compound shape maintains the shape of the compound object, but you can no longer select the individual components.
-
Select the compound shape using the Selection tool or Layers panel.
-
Do one of the following:
Click Expand in the Pathfinder panel.
-or-
Choose Expand Compound Shape from the Pathfinder panel menu.
The compound shape is converted to a <Path> or <Compound Path> item in the Layers panel, depending on the shape mode it used.
-or-
Choose Release Compound Shape from the Pathfinder panel menu.
Move compound shapes between Illustrator and Photoshop
The shape layers and layer clipping paths (vector masks) in Adobe Photoshop are types of compound shapes. You can import shape layers and layer clipping paths into Illustrator as compound shapes and continue to manipulate them. In addition, you can export compound shapes to Photoshop. Keep the following in mind when using compound shapes with Photoshop:
Only compound shapes that reside at the top level of the layer hierarchy are exported to Photoshop as shape layers.
A compound shape painted with a stroke using a join other than round, or with a weight in points that is not an integer, is rasterized when exported to the PSD file format.
Combine objects using compound paths
A compound path contains two or more paths that are painted so that holes appear where paths overlap. When you define objects as a compound path, all objects in the compound path take on the paint and style attributes of the backmost object in the stacking order.
Compound paths act as grouped objects and appear as <Compound Path> items in the Layers panel. Use the Direct Selection tool or the Group Selection tool to select part of a compound path. You can manipulate the shape of individual components of a compound path, but you can't change appearance attributes, graphic styles, or effects for individual components, and you can't manipulate components individually in the Layers panel.
If you want more flexibility when creating compound paths, you can create a compound shape and then expand it.
Cut a hole in an object using a compound path
-
Select the object to use as a hole, and position it so that it overlaps the object to cut. Repeat for any additional objects you want to use as holes.
-
Select all the objects you want to include in the compound path.
-
Choose Object > Compound Path > Make.
Apply fill rules to compound paths
You can specify whether a compound path is a nonzero winding path or an even‑odd path.
Nonzero winding fill rule
Uses mathematical equations to determine if a point is outside or inside a shape. Illustrator uses the nonzero winding rule as the default rule.
Even-odd fill rule
Uses mathematical equations to determine if a point is outside or inside a shape. This rule is the more predictable rule because every other region within an even‑odd compound path is a hole, regardless of path direction. Some apps, such as Adobe Photoshop, use the even‑odd rule by default, so compound paths imported from these apps will use the even‑odd rule.
Self-intersecting paths are paths that intersect themselves. You can choose to make these paths either nonzero winding or even‑odd, depending on how you want them to look.
When you create a nonzero winding compound path, you can specify whether overlapping paths appear with holes or are filled by clicking a Reverse Path Direction button in the Attributes panel.
A. Four circular paths B. Circular paths selected, converted into compound path C. Reverse Path Direction applied to innermost path
Change the fill rule for a compound path
-
Select the compound path using the Selection tool or Layers panel.
-
In the Attributes panel, click the Use Non‑Zero Winding Fill Rule button or the Use Even‑Odd Fill Rule button .
Change a hole in a compound path to a filled area
-
Make sure that the compound path uses the nonzero winding fill rule.
-
Using the Direct Selection tool, select the part of the compound path to reverse. Don't select the entire compound path.
-
In the Attributes panel, click the Reverse Path Direction Off button or the Reverse Path Direction On button .
Return a compound path to its original components
-
Select the compound path using the Selection tool or Layers panel.
-
Choose Object > Compound Path > Release.