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

# init(uniformLeadingCorners:uniformTrailingCorners:)

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

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

## Parameters

`uniformLeadingCorners`

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

`uniformTrailingCorners`

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

## Discussion

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