Compose Unstyled 2.0 is out! Check the official announcement blog ->
Class

SpatialBiasAlignment.Depth

Creates a weighted alignment that specifies a depth bias.

Source set: Android
public class Depth(@param:FloatRange(-1.0, 1.0) public val depthBias: Float) :
        SpatialAlignment.Depth

Creates a weighted alignment that specifies a depth bias.

Parameters

depthBias Must be within the range of [-1, 1] with -1 being back and 1 being front.

Functions

copy

public fun copy(bias: Float = this.depthBias): Depth

Last updated: