# CornerFamily

[View Source](https://github.com/material-components/material-components-android/blob/1.14.0/lib/java/com/google/android/material/shape/CornerFamily.java)

*** ** * ** ***


```
@Retention(value = RetentionPolicy.SOURCE)
public annotation CornerFamily
```

<br />

*** ** * ** ***

CornerFamily enum that holds which family to be used to create a `https://developer.android.com/reference/com/google/android/material/shape/CornerTreatment`

The corner family determines which family to use to create a `https://developer.android.com/reference/com/google/android/material/shape/CornerTreatment`. Setting the CornerFamily to `https://developer.android.com/reference/com/google/android/material/shape/CornerFamily#ROUNDED()` sets the corner treatment to `https://developer.android.com/reference/com/google/android/material/shape/RoundedCornerTreatment`, and setting the CornerFamily to `https://developer.android.com/reference/com/google/android/material/shape/CornerFamily#CUT()` sets the corner treatment to a `https://developer.android.com/reference/com/google/android/material/shape/CutCornerTreatment`.

## Summary

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/com/google/android/material/shape/CornerFamily#CUT() = 1` Corresponds to a `https://developer.android.com/reference/com/google/android/material/shape/CutCornerTreatment`. |
| `static final int` | `https://developer.android.com/reference/com/google/android/material/shape/CornerFamily#ROUNDED() = 0` Corresponds to a `https://developer.android.com/reference/com/google/android/material/shape/RoundedCornerTreatment`. |

## Constants

### CUT

```
public static final int CUT = 1
```

Corresponds to a `https://developer.android.com/reference/com/google/android/material/shape/CutCornerTreatment`.

### ROUNDED

```
public static final int ROUNDED = 0
```

Corresponds to a `https://developer.android.com/reference/com/google/android/material/shape/RoundedCornerTreatment`.