---
title: cornerRadius
framework: passkit
role: symbol
role_heading: Instance Property
path: passkit/pkpaymentbutton/cornerradius
---

# cornerRadius

The radius, in points, for the rounded corners on the button.

## Declaration

```swift
var cornerRadius: CGFloat { get set }
```

## Discussion

Discussion To remove the rounded corners, set this value to 0.0. The default value is 4.0.

## See Also

### Configuring the appearance

- [PKPaymentButtonType](passkit/pkpaymentbuttontype.md)
- [PKPaymentButtonStyle](passkit/pkpaymentbuttonstyle.md)
