Class

SurfaceDepthEffect

Represents the DepthEffect used by a surface in different states.

Source set: Android
public class SurfaceDepthEffect(
    public val depthEffect: DepthEffect?,
    public val focusedDepthEffect: DepthEffect?,
)

Represents the DepthEffect used by a surface in different states.

Focused surfaces with a focusedDepthEffect will have a higher zIndex set so they can draw their focused depth effect over siblings.

Functions

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: