Changing Object's Shape

Combining Objects

Introduction

You can combine objects using Boolean operations: Union, Intersect, Exclude and Subtract. These operations can be applied to two or more objects. They also require that objects overlap partially or completely.

The program finds overlapping and non-overlapping areas. Then it decides to hide or show those areas depending on the selected operation. Further on this page, we'll see how this works in a simplest case with only two objects.

The result of combining objects is a compound group.

To combine objects, select two or more objects. Then choose the Union, Intersect, Exclude, or Subtract command from the Modify > Combine menu. You can also find these commands by clicking on Combine objects icon in the Control panel.

In some cases, the creation of a complex object by combining primitive ones is easier than drawing the same object from scratch.

Union

The result of Union is an object that includes the area of all original objects.

Original images
Combine objects, the original images
Union
The Union operation was applied to images

The created object takes on the style of the original object that is in front of all others.

Intersect

The result of the Intersect operation is an object that includes only the area where all of the original objects overlap.

Original images
Combine objects, the original images
Intersect
The Intersect operation was applied to images

The created object takes on the style of the original object that is in front of all others.

Subtract

The result of the Subtract operation is a part of the background object that is not covered by any other object.

Original images
Combine objects, the original images
Subtract
The Subtract operation was applied to images

The created object takes on the style of the original object that is behind all others.

Exclude

The result of the Exclude operation depends on the number of objects that overlap at every single point. A hole appears in the area where two objects overlap.

If there are more than two objects cover the same spot, then only even number of objects create a hole.

Original images
Combine objects, the original images
Exclude
The Exclude operation was applied to images

The created object takes on the style of the original object that is in front of all others.

Compound Groups

A compound group can be created by combining objects.

In the Appearance panel, a compound group is presented as an object named CompoundGroup whose sub-items are the original objects. It is similar to groups. You can access and edit those sub-objects individually. The program will instantly update the compound group.

You can change properties of a compound group as you do with basic objects: apply stroke, fill or effects.

To split a compound group back into the objects that compose it, use the Modify > Combine > Release command.

To edit a compound group, use the Selection tool as you do to edit separate paths. Apart from editing anchor points, this tool lets you move individual objects inside the compound group.

It can be helpful to double-click on the compound group in order to enter the Isolate mode. In this mode, you can move, resize, rotate and transform the original objects.