Vector shapes can be joined together to create composite shape variations which can be fully edited as curves.
There are various Boolean operations available:
Add—creates a new curve layer from the sum of the selected shape layers.
Subtract—removes overlapped areas of the lowest shape layer. All other selected shape layers are discarded.
Intersect—creates a new curve layer from the overlapping areas of selected shape layers.
Divide—splits shape layer areas into separate curve layers; the curve layer from the intersecting area retains the color of the upper shape layer.
Xor—merges selected shape layers into a curve layer with transparent area where filled regions overlap.