<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ConcentricRectangle/init(uniformTopCorners:uniformBottomCorners:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI19ConcentricRectangleV17uniformTopCorners0e6BottomG0AcA4EdgeO6CornerO5StyleV_AKtcfc"
  },
  "title" : "init(uniformTopCorners:uniformBottomCorners:)"
}
-->

# init(uniformTopCorners:uniformBottomCorners:)

Creates a rectangle with a corner style set on the top two corners
uniformly, and another style set on the bottom two corners uniformly.

```
init(uniformTopCorners: Edge.Corner.Style = .concentric, uniformBottomCorners: Edge.Corner.Style = .concentric)
```

## Parameters

`uniformTopCorners`

The corner style to apply to the top two
corners uniformly.

`uniformBottomCorners`

The corner style to apply to the bottom
two corners uniformly.

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)