Function

LayerOutsets

Creates a LayerOutsets with the same value for all sides.

LayerOutsets

Source set: Common
fun LayerOutsets(all: Dp) = LayerOutsets(all, all, all, all)

Creates a LayerOutsets with the same value for all sides.

LayerOutsets

Source set: Common
fun LayerOutsets(vertical: Dp, horizontal: Dp) =
    LayerOutsets(horizontal, vertical, horizontal, vertical)

Creates a LayerOutsets where the horizontal value is applied to the left and right, and the vertical value is applied to the top and bottom.

Last updated: