Discussion 議論
SwiftUI looks at a shape’s role when deciding how to apply a Shape
at render time. The Shape
protocol provides a default implementation with a value of Shape
. If you create a composite shape, you can provide an override of this property to return another value, if appropriate.