ShapeView
A view that provides a shape that you can use for drawing operations.
Declaration
protocol ShapeView<Content> : View, _RemoveGlobalActorIsolationOverview
Use this type with the drawing methods on Shape to apply multiple fills and/or strokes to a shape. For example, the following code applies a fill and stroke to a capsule shape:
Capsule()
.fill(.yellow)
.stroke(.blue, lineWidth: 8)