# ShadowViewDelegate

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

*** ** * ** ***


```
public interface ShadowViewDelegate
```

<br />

*** ** * ** ***

Delegate interface that can be used to facilitate rendering of shadows pre-lollipop.

## Summary

| ### Public methods |
|---|---|
| `abstract float` | `https://developer.android.com/reference/com/google/android/material/shadow/ShadowViewDelegate#getRadius()()` |
| `abstract boolean` | `https://developer.android.com/reference/com/google/android/material/shadow/ShadowViewDelegate#isCompatPaddingEnabled()()` |
| `abstract void` | `https://developer.android.com/reference/com/google/android/material/shadow/ShadowViewDelegate#setBackgroundDrawable(Drawable)(Drawable background)` |
| `abstract void` | `https://developer.android.com/reference/com/google/android/material/shadow/ShadowViewDelegate#setShadowPadding(int,int,int,int)(int left, int top, int right, int bottom)` |

## Public methods

### getRadius

```
abstract float getRadius()
```

### isCompatPaddingEnabled

```
abstract boolean isCompatPaddingEnabled()
```

### setBackgroundDrawable

```
abstract void setBackgroundDrawable(Drawable background)
```

### setShadowPadding

```
abstract void setShadowPadding(int left, int top, int right, int bottom)
```