How to visually group a set of shapes in a drawing canvas …

Source: i.stack.imgur.com