---
title: "init(uniformTrailingCorners:topLeadingCorner:bottomLeadingCorner:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/concentricrectangle/init(uniformtrailingcorners:topleadingcorner:bottomleadingcorner:)"
---

# init(uniformTrailingCorners:topLeadingCorner:bottomLeadingCorner:)

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

## Declaration

```swift
init(uniformTrailingCorners: Edge.Corner.Style = .concentric, topLeadingCorner: Edge.Corner.Style = .concentric, bottomLeadingCorner: Edge.Corner.Style = .concentric)
```

## Parameters

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

## Discussion

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

## See Also

### Creating a rectangle with uniform trailing corners

- [rect(uniformTrailingCorners:topLeadingCorner:bottomLeadingCorner:)](swiftui/shape/rect(uniformtrailingcorners:topleadingcorner:bottomleadingcorner:).md)
