<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSViewCornerConfiguration/corners(topLeftRadius:topRightRadius:bottomLeftRadius:bottomRightRadius:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSViewCornerConfiguration(cm)configurationWithTopLeftRadius:topRightRadius:bottomLeftRadius:bottomRightRadius:"
  },
  "title" : "corners(topLeftRadius:topRightRadius:bottomLeftRadius:bottomRightRadius:)"
}
-->

# corners(topLeftRadius:topRightRadius:bottomLeftRadius:bottomRightRadius:)

A configuration with independent radii for each corner.

```
class func corners(topLeftRadius: NSViewCornerRadius?, topRightRadius: NSViewCornerRadius?, bottomLeftRadius: NSViewCornerRadius?, bottomRightRadius: NSViewCornerRadius?) -> NSViewCornerConfiguration
```

## Parameters

`topLeftRadius`

Radius of top left corner.

`topRightRadius`

Radius of top right corner.

`bottomLeftRadius`

Radius of bottom left corner.

`bottomRightRadius`

Radius of bottom right corner.

---

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)