---
title: "effectiveRadius(corner:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiview/effectiveradius(corner:)"
---

# effectiveRadius(corner:)

Returns the effective radius for the corner you provide, calculated using the view’s current corner configuration.

## Declaration

```swift
func effectiveRadius(corner: UIRectCorner) -> CGFloat
```

## Parameters

- `corner`: The corner whose effective radius you want to calculate.

## Return Value

Return Value A CGFloat value for the effective radius, expressed in points.

## Overview

Overview When you call this method from layoutSubviews(), updateProperties(), or updateProperties(), automatic invalidation occurs if the effective radius changes. If you provide more than one corner (for example, allCorners), the returned radius represents the maximum effective radius of those corners.

## See Also

### Configuring a view’s corners

- [cornerConfiguration](uikit/uiview/cornerconfiguration-7l0ja.md)
- [UICornerConfiguration](uikit/uicornerconfiguration-swift.struct.md)
- [UICornerRadius](uikit/uicornerradius-swift.struct.md)
