setShadowColor

open fun setShadowColor(shadowColor: Int)

Set the color of fake shadow rendered behind the shape. This will only be drawn when requiresCompatShadow is true, otherwise native elevation shadows will be drawn which don't support colored shadows.

Setting a shadow color will prevent the tint color from being used.

Parameters

shadowColor

desired color.