SelectableChipElevation


Represents the elevation used in a selectable chip in different states.

Summary

Public constructors

SelectableChipElevation(
    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 used when the chip is not enabled

Cmn
open Dp

the elevation used when the chip is dragged

Cmn
open Dp

the elevation used when the chip is enabled.

Cmn
open Dp

the elevation used when the chip is focused

Cmn
open Dp

the elevation used when the chip is hovered.

Cmn
open Dp

the elevation used when the chip is pressed.

Cmn

Public constructors

SelectableChipElevation

SelectableChipElevation(
    elevation: Dp,
    pressedElevation: Dp,
    focusedElevation: Dp,
    hoveredElevation: Dp,
    draggedElevation: Dp,
    disabledElevation: Dp
)
Parameters
elevation: Dp

the elevation used when the chip is enabled.

pressedElevation: Dp

the elevation used when the chip is pressed.

focusedElevation: Dp

the elevation used when the chip is focused

hoveredElevation: Dp

the elevation used when the chip is hovered.

draggedElevation: Dp

the elevation used when the chip is dragged

disabledElevation: Dp

the elevation used when the chip is not enabled

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

disabledElevation

open val disabledElevationDp

the elevation used when the chip is not enabled

draggedElevation

open val draggedElevationDp

the elevation used when the chip is dragged

elevation

open val elevationDp

the elevation used when the chip is enabled.

focusedElevation

open val focusedElevationDp

the elevation used when the chip is focused

hoveredElevation

open val hoveredElevationDp

the elevation used when the chip is hovered.

pressedElevation

open val pressedElevationDp

the elevation used when the chip is pressed.