Class

PaneExpansionAnchor.Offset

PaneExpansionAnchor implementation that specifies the anchor position based on the offset in Dp.

Source set: Common
abstract class Offset internal constructor(val offset: Dp, override internal val type: Int) :
        PaneExpansionAnchor()

PaneExpansionAnchor implementation that specifies the anchor position based on the offset in Dp.

Properties

direction

Source set: Common
val direction: Direction

Indicates the direction of the offset.

Companion Object

Methods

Source set: Common
fun fromStart(offset: Dp): Offset

Create an androidx.compose.material3.adaptive.layout.PaneExpansionAnchor.Offset anchor from the start side of the layout.

Parameters

offset offset to be used in Dp.
Source set: Common
fun fromEnd(offset: Dp): Offset

Create an androidx.compose.material3.adaptive.layout.PaneExpansionAnchor.Offset anchor from the end side of the layout.

Parameters

offset offset to be used in Dp.

Last updated: