depthEffect

Functions summary

Modifier
Modifier.depthEffect(depthEffect: DepthEffect?, shape: Shape)

Renders shadows for the provided depthEffect.

Functions

Modifier.depthEffect

fun Modifier.depthEffect(depthEffect: DepthEffect?, shape: Shape): Modifier

Renders shadows for the provided depthEffect.

Parameters
depthEffect: DepthEffect?

Depth effect to render shadows for. If null, no shadows will be rendered.

shape: Shape

Shape of the shadows