Rectangle
Rectangle
```
struct ExampleView: View {
var body: some View {
Rectangle()
.path(in: CGRect(x: 0, y: 0, width: 100, height: 100))
}
}
```
Creates a Rectangle that aligns itself inside of the view containing it
by default.
```
struct ExampleView: View {
var body: some View {
Rectangle()
}
}
```
When you create a custom view, Swift infers this type from your
implementation of the required `body` property.