placeRelativeWithLayer
open fun Placeable.placeRelativeWithLayer(x: Int, y: Int, zIndex: Float = 0.0f, layerBlock: PlacementLayerScope.() -> Unit = DefaultLayerBlock)
Places the child at x from the leading edge, mirroring under a right-to-left parent, with a layer whose properties layerBlock sets; see placeWithLayer.
Parameters
x
where the child's leading edge lands, from the container's inner leading 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; see place.
layerBlock
sets the layer's properties; a layer at its defaults when omitted