<!--
{
  "availability" : [
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKInterfaceGroup/setCornerRadius(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKInterfaceGroup(im)setCornerRadius:"
  },
  "title" : "setCornerRadius(_:)"
}
-->

# setCornerRadius(_:)

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

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

## Parameters

`cornerRadius`

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

## 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.

---

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)