place

abstract fun Placeable.place(x: Int, y: Int, zIndex: Float = 0.0f)

Places the child at x from the left edge, whatever the orientation.

Parameters

x

where the child's left edge lands, from the container's inner left edge

y

where the child's top edge lands, from the container's inner top edge

zIndex

the child's place in its container's paint and hit-testing order: a child placed with a larger value paints over, and receives a mouse event before, every sibling placed with a smaller one. Siblings placed with the same value keep the order they are declared in. A layout modifier placing its content adds its value to this one.