CardElevation


Represents the elevation for a card in different states.

Summary

Public constructors

CardElevation(
    elevation: Dp,
    pressedElevation: Dp,
    focusedElevation: Dp,
    hoveredElevation: Dp,
    draggedElevation: Dp,
    disabledElevation: Dp
)
Cmn

Public functions

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

Public properties

open Dp

The elevation of the component when it is disabled.

Cmn
open Dp

The elevation of the component when it is being dragged.

Cmn
open Dp

The default elevation of the component.

Cmn
open Dp

The elevation of the component when it is focused.

Cmn
open Dp

The elevation of the component when the pointer is hovering over it.

Cmn
open Dp

The elevation of the component when it is pressed.

Cmn

Public constructors

CardElevation

CardElevation(
    elevation: Dp,
    pressedElevation: Dp,
    focusedElevation: Dp,
    hoveredElevation: Dp,
    draggedElevation: Dp,
    disabledElevation: Dp
)

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

disabledElevation

open val disabledElevationDp

The elevation of the component when it is disabled.

draggedElevation

open val draggedElevationDp

The elevation of the component when it is being dragged.

elevation

open val elevationDp

The default elevation of the component.

focusedElevation

open val focusedElevationDp

The elevation of the component when it is focused.

hoveredElevation

open val hoveredElevationDp

The elevation of the component when the pointer is hovering over it.

pressedElevation

open val pressedElevationDp

The elevation of the component when it is pressed.