ExperimentalTransparencyEnabledCardClip

constructor(backgroundDrawable: Drawable? = null, cardBackgroundColor: Int = DEFAULT_BACKGROUND_COLOR, clippingColor: Int = DEFAULT_CLIPPING_COLOR, cornerRadius: Float = 0.0f, disableClipTopLeft: Boolean = false, disableClipTopRight: Boolean = false, disableClipBottomLeft: Boolean = false, disableClipBottomRight: Boolean = false, @ColorInt dynamicCardBackgroundColor: DynamicValue<Int>? = null, style: Style? = null)

Parameters

backgroundDrawable

Drawable to use as a background.

cardBackgroundColor

Background color for the drawable.

clippingColor

Color for corner clipping.

cornerRadius

Radius for corner clipping.

disableClipTopLeft

If set, opt out of clipping the top-left corner.

disableClipTopRight

If set, opt out of clipping the top-right corner.

disableClipBottomLeft

If set, opt out of clipping the bottom-left corner.

disableClipBottomRight

If set, opt out of clipping the bottom-right corner.