<!--
{
  "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/RoundedRectangularShapeCorners",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI30RoundedRectangularShapeCornersV"
  },
  "title" : "RoundedRectangularShapeCorners"
}
-->

# RoundedRectangularShapeCorners

A type describing the corner styles of a [`RoundedRectangularShape`](/documentation/SwiftUI/RoundedRectangularShape).

```
struct RoundedRectangularShapeCorners
```

## Topics

### Initializers

[`init(all: Edge.Corner.Style)`](/documentation/SwiftUI/RoundedRectangularShapeCorners/init(all:))

Create corner styles with all corner having the same style.

[`init(topLeading: Edge.Corner.Style, topTrailing: Edge.Corner.Style, bottomLeading: Edge.Corner.Style, bottomTrailing: Edge.Corner.Style)`](/documentation/SwiftUI/RoundedRectangularShapeCorners/init(topLeading:topTrailing:bottomLeading:bottomTrailing:))

Create corner styles with per-corner styles.

### Instance Properties

[`var bottomLeading: Edge.Corner.Style`](/documentation/SwiftUI/RoundedRectangularShapeCorners/bottomLeading)

The bottom leading corner style.

[`var bottomTrailing: Edge.Corner.Style`](/documentation/SwiftUI/RoundedRectangularShapeCorners/bottomTrailing)

The bottom trailing corner style

[`var topLeading: Edge.Corner.Style`](/documentation/SwiftUI/RoundedRectangularShapeCorners/topLeading)

The top leading corner style.

[`var topTrailing: Edge.Corner.Style`](/documentation/SwiftUI/RoundedRectangularShapeCorners/topTrailing)

The top trailing corner style.

### Subscripts

[`subscript(Edge.Corner) -> Edge.Corner.Style`](/documentation/SwiftUI/RoundedRectangularShapeCorners/subscript(_:))

Returns the corner style for a provided corner.

### Type Properties

[`static var concentric: RoundedRectangularShapeCorners`](/documentation/SwiftUI/RoundedRectangularShapeCorners/concentric)

Corner styles will be concentric with its container, varying the radius
as needed in all four corners.

### Type Methods

[`static func concentric(minimum: Edge.Corner.Style?) -> RoundedRectangularShapeCorners`](/documentation/SwiftUI/RoundedRectangularShapeCorners/concentric(minimum:))

Corner styles will be concentric with its container, varying the radius
as needed in all four corners but never going below zero, or the
provided minimum corner style, if provided.

[`static func fixed(CGFloat) -> RoundedRectangularShapeCorners`](/documentation/SwiftUI/RoundedRectangularShapeCorners/fixed(_:))

Corner styles with fixed radius in all four corners.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Animatable`](/documentation/SwiftUI/Animatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

---

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)