35.6 Summary
SwiftUI includes a built-in set of views that conform to the Shape protocol for drawing standard shapes such as rectangles, circles and ellipses. Modifiers can be applied to these views to control stroke, fill and color properties.
Custom shapes are created by specifying paths which consist of sets of points joined by straight or curved lines. SwiftUI also includes support for drawing radial, linear and angular gradient patterns.