---
title: cornerRadius
framework: paperkit
role: symbol
role_heading: Instance Property
path: paperkit/shapemarkup/shape-swift.enum/rectangle-swift.struct/cornerradius
---

# cornerRadius

The radius of the rounded rectangle’s corners.

## Declaration

```swift
var cornerRadius: CGFloat?
```

## Discussion

Discussion If nil the rectangle does not have a corner radius UI control point.
