Create jagged or smooth shapes from the same array of points.
SKShape object can be initialized with an array of points describing a path. The
shape method can smoothly interpolate between these points to create a curve rather than the series of straight lines created by
Given an array of the following points:
[(0, 0), (100, 100), (200, -50), (300, 30), (400, 20)],
shape creates the shape rendered below in red and
shape creates the shape below rendered in blue in Figure 1.