SpatialElevationLevel

value class SpatialElevationLevel


Represents the resting elevation level for spatial elements.

Elevation levels range from Level0 (no elevation) to Level5 (highest recommended elevation).

NOTE: Level0 is not visually distinguishable from base-level content but is present to support smooth transitioning between elevation levels.

Summary

Public constructors

Public properties

Dp

The elevation level in Dp.

Public companion properties

Level0

Added in 1.0.0-alpha04
val Level0SpatialElevationLevel

Level1

Added in 1.0.0-alpha04
val Level1SpatialElevationLevel

Level2

Added in 1.0.0-alpha04
val Level2SpatialElevationLevel

Level3

Added in 1.0.0-alpha04
val Level3SpatialElevationLevel

Level4

Added in 1.0.0-alpha04
val Level4SpatialElevationLevel

Level5

Added in 1.0.0-alpha04
val Level5SpatialElevationLevel

Public constructors

SpatialElevationLevel

SpatialElevationLevel(level: Dp)

Public properties

level

Added in 1.0.0-alpha04
val levelDp

The elevation level in Dp.