<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSViewCornerRadii",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSViewCornerRadii"
  },
  "title" : "NSViewCornerRadii"
}
-->

# NSViewCornerRadii

Provides a structured way to define custom corner radii for each corner of a view, along with a corner curve.

```
class NSViewCornerRadii
```

## Topics

### Instance Properties

[`var bottomLeft: CGFloat`](/documentation/AppKit/NSViewCornerRadii/bottomLeft)

Radius of the bottom left corner of the view.

[`var bottomRight: CGFloat`](/documentation/AppKit/NSViewCornerRadii/bottomRight)

Radius of the bottom right corner of the view.

[`var topLeft: CGFloat`](/documentation/AppKit/NSViewCornerRadii/topLeft)

Radius of the top left corner of the view.

[`var topRight: CGFloat`](/documentation/AppKit/NSViewCornerRadii/topRight)

Radius of the top right corner of the view.

## Relationships

### Conforms To

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

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

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

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)