---
title: "init(uniformBottomCorners:topLeadingCorner:topTrailingCorner:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/concentricrectangle/init(uniformbottomcorners:topleadingcorner:toptrailingcorner:)"
---

# init(uniformBottomCorners:topLeadingCorner:topTrailingCorner:)

Creates a rectangle with a corner style set on the bottom two corners uniformly, and two other styles for the top two corners respectively.

## Declaration

```swift
init(uniformBottomCorners: Edge.Corner.Style = .concentric, topLeadingCorner: Edge.Corner.Style = .concentric, topTrailingCorner: Edge.Corner.Style = .concentric)
```

## Parameters

- `uniformBottomCorners`: The corner style to apply to the bottom two corners uniformly.
- `topLeadingCorner`: The corner style for the top leading corner.
- `topTrailingCorner`: The corner style for the top trailing corner.

## Discussion

Discussion For the two bottom corners, the system calculates the radius for each corner first. Then, it selects the largest radius and applies it to each bottom corner to achieve the symmetric look.

## See Also

### Creating a rectangle with uniform bottom corners

- [rect(uniformBottomCorners:topLeadingCorner:topTrailingCorner:)](swiftui/shape/rect(uniformbottomcorners:topleadingcorner:toptrailingcorner:).md)
