Two or more shapes that interact to produce a different shape. For example, it can be like sticking two shapes together (union) or using one shape as a “cookie-cutter” to “bite” pieces out of another shape (subtraction). The new combined shape has a single fill and border.
Compound shapes are a result of so-called Boolean operations. The result is fully editable at any time. All shapes will retain their special properties like round corners or sides. Compound shapes are also known as Boolean Groups.
“Elements” within compound shapes have an icon displaying their effect on the other elements below them.
“Glue” two or more objects together so they become a single combined shape with the sum of its areas
Use the upper object as a “cookie cutter” to remove an area from the lower object.
The result only shows the areas where the original objects overlap.
The result only shows the areas where the original objects do not overlap. Opposite of intersect.
To make a compound shape:
- Select 2 or more vector objects
- Use (Alternatively: Create Compound Shape button in the main toolbar or in the context menu)
- Choose from available boolean operations (Union, Subtract, Intersect or Difference)
You can at any time split Compound shape to its original parts using Ungroup command+ + . All properties of the original objects will be restored.
A Compound Shapes are non-destructive and can be changed to a different merge operation at a later time using:
Create Compound Shape dropdown on the toolbar, or Compound options in the Inspector panel.
Compound shapes are cumulative you can have multiple boolean operations (Union, Subtract, Intersect or Difference) in one Compound Shape.
Sometimes when you try to combine 2 or more Compound shapes the result can be different than expected. I such cases useor + + .
After you create the nested compound shape from the menu you can change the boolean operation type in the Compound section of the Inspector panel.