PaneExpansionAnchor.Offset


PaneExpansionAnchor implementation that specifies the anchor position in the offset in Dp. If a positive value is provided, the offset will be treated as a start offset, on the other hand, if a negative value is provided, the absolute value of the provided offset will be used as an end offset. For example, if -150.dp is provided, the resulted anchor will be at the position that is 150dp away from the end side of the associated layout.

Summary

Public constructors

Offset(offset: Dp)
Cmn

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn

Public properties

Dp

the offset of the anchor in Dp.

Cmn

Public constructors

Offset

Offset(offset: Dp)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

offset

val offsetDp

the offset of the anchor in Dp.