ExperimentalCardShadow

constructor(@ColorInt shadowStartColor: Int = Color.TRANSPARENT, @ColorInt shadowEndColor: Int = Color.TRANSPARENT, cornerRadius: Float = 0.0f, shadowSize: Float = 0.0f, shadowDx: Float = CardShadowDrawable.UNDEFINED, shadowDy: Float = CardShadowDrawable.UNDEFINED, hideTopShadow: Boolean = false, hideBottomShadow: Boolean = false, shadowLeftSizeOverride: Float = CardShadowDrawable.UNDEFINED, shadowRightSizeOverride: Float = CardShadowDrawable.UNDEFINED, style: Style? = null)

Parameters

shadowStartColor

Start color for the shadow.

shadowEndColor

End color for the shadow.

cornerRadius

Corner radius for the card that shows the shadow.

shadowSize

Size of the shadow.

shadowDx

The x offset of the shadow.

shadowDy

The y offset of the shadow.