ZIndexScope

Known direct subclasses
LayerStyleScope

This interface is deprecated. This scope type is being removed.

Known indirect subclasses
StyleScope

This interface is deprecated. This scope type is being removed.


An interface that introduces the zIndex property to a Style receiver scope.

See also
StyleScope

Summary

Public functions

Unit
zIndex(value: @FloatRange(from = 0.0) Float)

This function is deprecated. This scope type is being removed.

Cmn

Public functions

zIndex

fun zIndex(value: @FloatRange(from = 0.0) Float): Unit

Sets the Z-index of the component. Higher Z-index components are drawn on top of lower Z-index components within the same parent. This affects drawing order, not layout.

This property is not inherited

Parameters
value: @FloatRange(from = 0.0) Float

The Z-index value.

See also
zIndex