Skip to content

net.kernelpanicsoft.archie.gui.modifiers.position

Types

MarginModifier

A Modifier.Element that adds outer spacing (margin) around a composable.

MarginValues

data class MarginValues(
    val left: Int = 0, 
    val right: Int = 0, 
    val top: Int = 0, 
    val bottom: Int = 0
)

Holds the four-sided margin values used by MarginModifier.

OffsetModifier

A Modifier.Element that shifts a composable's position by a fixed pixel offset after layout has been computed.

PaddingModifier

A Modifier.Element that adds inner spacing (padding) inside a composable.

PaddingValues

data class PaddingValues(
    val left: Int = 0, 
    val right: Int = 0, 
    val top: Int = 0, 
    val bottom: Int = 0
)

Holds the four-sided padding values used by PaddingModifier.

ZIndexModifier

A Modifier.Element that controls the rendering and input-dispatch order of a composable relative to its siblings.

Functions