ShadowViewDelegate

public interface ShadowViewDelegate

com.google.android.material.shadow.ShadowViewDelegate


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

Summary

Public methods

abstract float getRadius()
abstract boolean isCompatPaddingEnabled()
abstract void setBackgroundDrawable(Drawable background)
abstract void setShadowPadding(int left, int top, int right, int bottom)

Public methods

getRadius

public abstract float getRadius ()

Returns
float

isCompatPaddingEnabled

public abstract boolean isCompatPaddingEnabled ()

Returns
boolean

setBackgroundDrawable

public abstract void setBackgroundDrawable (Drawable background)

Parameters
background Drawable

setShadowPadding

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

Parameters
left int

top int

right int

bottom int