---
title: "setCornerRadius(_:)"
framework: watchkit
role: symbol
role_heading: Instance Method
path: "watchkit/wkinterfacegroup/setcornerradius(_:)"
---

# setCornerRadius(_:)

Changes the radius to use when drawing rounded corners for the group.

## Declaration

```swift
func setCornerRadius(_ cornerRadius: CGFloat)
```

## Parameters

- `cornerRadius`: The radius (in points) of the circle used to round the corners of the groups edges.

## Discussion

Discussion Setting the radius to a value greater than 0.0 causes the group to draw rounded corners on its background. When a corner radius is applied, the group’s background color or image are clipped accordingly. The default corner radius for groups is 6 points.

## See Also

### Setting the Layout Information

- [setContentInset(_:)](watchkit/wkinterfacegroup/setcontentinset(_:).md)
