Shapes and Paths are powerful primitives that can be used in many situations.
However, there are instances when more complex shapes are needed. Apple has provided support for custom drawing with two integrated tools: Paths and Shapes.
A Shape is made up of a series of Paths. Paul Hudson has a great introduction to these tools.
Let’s check how it looks in action and draw a simple hexagon using the Shape protocol.