---
title: "uniformTopRadius(_:bottomLeftRadius:bottomRightRadius:)"
framework: uikit
role: symbol
role_heading: Type Method
path: "uikit/uicornerconfiguration-swift.struct/uniformtopradius(_:bottomleftradius:bottomrightradius:)"
---

# uniformTopRadius(_:bottomLeftRadius:bottomRightRadius:)

A configuration that applies the top radius you provide to the top corners, with optional independent radii for the bottom corners.

## Declaration

```swift
static func uniformTopRadius(_ topRadius: UICornerRadius, bottomLeftRadius: UICornerRadius? = nil, bottomRightRadius: UICornerRadius? = nil) -> UICornerConfiguration
```

## Parameters

- `topRadius`: A doc://com.apple.uikit/documentation/UIKit/UICornerRadius-swift.struct that represents the radius to use for the top-left and top-right corners.
- `bottomLeftRadius`: An optional doc://com.apple.uikit/documentation/UIKit/UICornerRadius-swift.struct that represents the radius to use for the bottom-left corner.
- `bottomRightRadius`: An optional doc://com.apple.uikit/documentation/UIKit/UICornerRadius-swift.struct that represents the radius to use for the bottom-right corner.

## See Also

### Configuring uniform corners

- [uniformCorners(radius:)](uikit/uicornerconfiguration-swift.struct/uniformcorners(radius:).md)
- [uniformEdges(leftRadius:rightRadius:)](uikit/uicornerconfiguration-swift.struct/uniformedges(leftradius:rightradius:).md)
- [uniformEdges(topRadius:bottomRadius:)](uikit/uicornerconfiguration-swift.struct/uniformedges(topradius:bottomradius:).md)
- [uniformBottomRadius(_:topLeftRadius:topRightRadius:)](uikit/uicornerconfiguration-swift.struct/uniformbottomradius(_:topleftradius:toprightradius:).md)
- [uniformLeftRadius(_:topRightRadius:bottomRightRadius:)](uikit/uicornerconfiguration-swift.struct/uniformleftradius(_:toprightradius:bottomrightradius:).md)
- [uniformRightRadius(_:topLeftRadius:bottomLeftRadius:)](uikit/uicornerconfiguration-swift.struct/uniformrightradius(_:topleftradius:bottomleftradius:).md)
