---
title: "uniformEdges(topRadius:bottomRadius:)"
framework: appkit
role: symbol
role_heading: Type Method
path: "appkit/nsviewcornerconfiguration/uniformedges(topradius:bottomradius:)"
---

# uniformEdges(topRadius:bottomRadius:)

A configuration that applies the topRadius uniformly to the top-left and top-right corners, and the bottomRadius uniformly to the bottom-left and bottom-right corners. When the uniform corners differ, it uses the largest of the resolved corner radii.

## Declaration

```swift
class func uniformEdges(topRadius: NSViewCornerRadius, bottomRadius: NSViewCornerRadius) -> NSViewCornerConfiguration
```

## Parameters

- `topRadius`: Radius for top edge.
- `bottomRadius`: Radius for the bottom edge.
