Shape boolean operations

Shape boolean operations determine what happens to opaque areas when shapes are combined with what’s underneath them. It’s a way to build complex shapes from simpler shapes or paths.

Every shape in a vector layer or mask layer has its own boolean operation, and each shape is combined with the shapes below it in the same layer. The boolean operation can be changed using the four buttons on the vector or mask tab of the properties window, or by selecting shapes and choosing an item from Layer › Shape Boolean Operations.

Add #

The shape on top is added to the shapes below. This is the default behaviour. Press = to add the selected shapes.

Subtract #

The shape on top is subtracted from the shapes below. To make a donut, draw a bigger circle, and then draw a smaller circle on top and use the subtract boolean operation. Donut! Press - to subtract the selected shapes.

Intersect #

The overlapping section of the top and bottom shapes are kept. Press ⌥- to intersect the selected shapes.

Exclude #

The overlapping section of the top and bottom shapes are removed, and everything else is kept. Press ⌥= to exclude the selected shapes.

Boolean operations while drawing #

Modifier keys can set the boolean operation as a new shape is drawn. Holding ⇧ when starting to draw a new shape adds it to the currently selected vector or mask layer. Holding ⌥ subtracts it, and holding ⇧⌥ excludes it. Without a modifier, a new shape is placed in a new layer.

Further reading: Tools and shapes

Moving shapes between layers #

Shapes can be moved between vector and mask layers via copy and paste, or by dragging the shapes from one layer to another in the list of layers.

Combined shapes #

When shape boolean operations are used in some other design tools, they create a special combined shape group. Every vector layer in Skala is already a combined shape that can hold many shapes, so there is no need to combine shapes to use boolean operations.

To merge existing layers into one, use Layer › Merge Layers.

If you’d like to permanently merge shapes into a single path, select the shapes and choose Path › Combine Shapes. The boolean operations are applied, and the result replaces the original shapes with one path. Choosing Path › Divide Shapes does something different — it splits the selected shapes into separate paths, one for each region where they overlap or don’t overlap. Both commands are also available by right-clicking on the canvas.

Further reading: Path editing