data class StickyPositionConstraint
(source)
Sticky position constraints.
Link
LayerTree#StickyPositionConstraint type documentation.
StickyPositionConstraint(stickyBoxRect: Rect, containingBlockRect: Rect, nearestLayerShiftingStickyBox: LayerId? = null, nearestLayerShiftingContainingBlock: LayerId? = null)
Sticky position constraints. |
val containingBlockRect: Rect
Layout rectangle of the containing block of the sticky element |
|
val nearestLayerShiftingContainingBlock: LayerId?
The nearest sticky layer that shifts the containing block |
|
val nearestLayerShiftingStickyBox: LayerId?
The nearest sticky layer that shifts the sticky box |
|
val stickyBoxRect: Rect
Layout rectangle of the sticky element before being shifted |