SurfaceDepth


class SurfaceDepth


Represents the Depth used by a surface in different states.

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

Summary

Public constructors

SurfaceDepth(depth: Depth?, focusedDepth: Depth?)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

Depth?

the Depth used when the surface is in its default state (no other interactions are ongoing)

Depth?

the Depth used when the surface is focused

Public constructors

SurfaceDepth

Added in 1.0.0-alpha01
SurfaceDepth(depth: Depth?, focusedDepth: Depth?)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

depth

Added in 1.0.0-alpha01
val depthDepth?

the Depth used when the surface is in its default state (no other interactions are ongoing)

focusedDepth

Added in 1.0.0-alpha01
val focusedDepthDepth?

the Depth used when the surface is focused