---
title: cornerSize
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/roundedrectangle/cornersize
---

# cornerSize

The width and height of the rounded rectangle’s corners.

## Declaration

```swift
var cornerSize: CGSize
```

## See Also

### Getting the shape’s characteristics

- [style](swiftui/roundedrectangle/style.md)
