Common
@ExperimentalMaterial3AdaptiveApi
sealed interface PaneMargins
Represents the margins of a pane within a pane scaffold.
Note that the margins are specified as offsets from the edges of the scaffold. To specify the internal spacer size please do it via PaneScaffoldDirective.horizontalPartitionSpacerSize and PaneScaffoldDirective.verticalPartitionSpacerSize.
This is typically set by the paneMargins modifier.
Functions
getPaneLeft
fun Placeable.PlacementScope.getPaneLeft(measuredLeft: Int) = measuredLeft
getPaneTop
fun Placeable.PlacementScope.getPaneTop(measuredTop: Int) = measuredTop
getPaneRight
fun Placeable.PlacementScope.getPaneRight(measuredRight: Int, parentRight: Int) = measuredRight
getPaneBottom
fun Placeable.PlacementScope.getPaneBottom(measuredBottom: Int, parentBottom: Int) =
measuredBottom