<!--
{
  "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(uniformLeadingCorners:topTrailingCorner:bottomTrailingCorner:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI19ConcentricRectangleV21uniformLeadingCorners17topTrailingCorner06bottomiJ0AcA4EdgeO0J0O5StyleV_A2Ltcfc"
  },
  "title" : "init(uniformLeadingCorners:topTrailingCorner:bottomTrailingCorner:)"
}
-->

# init(uniformLeadingCorners:topTrailingCorner:bottomTrailingCorner:)

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

```
init(uniformLeadingCorners: Edge.Corner.Style = .concentric, topTrailingCorner: Edge.Corner.Style = .concentric, bottomTrailingCorner: Edge.Corner.Style = .concentric)
```

## Parameters

`uniformLeadingCorners`

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

`topTrailingCorner`

The corner style for the top trailing corner.

`bottomTrailingCorner`

The corner style for the bottom trailing
corner.

## Discussion

For the two leading corners, the system calculates the radius for each
corner first. Then, it selects the largest radius and applies it to
each leading 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)