Class StickyPositionConstraint
- java.lang.Object
-
- org.openqa.selenium.devtools.layertree.model.StickyPositionConstraint
-
public class StickyPositionConstraint extends java.lang.ObjectSticky position constraints.
-
-
Constructor Summary
Constructors Constructor Description StickyPositionConstraint(Rect stickyBoxRect, Rect containingBlockRect, LayerId nearestLayerShiftingStickyBox, LayerId nearestLayerShiftingContainingBlock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RectgetContainingBlockRect()Layout rectangle of the containing block of the sticky elementLayerIdgetNearestLayerShiftingContainingBlock()The nearest sticky layer that shifts the containing blockLayerIdgetNearestLayerShiftingStickyBox()The nearest sticky layer that shifts the sticky boxRectgetStickyBoxRect()Layout rectangle of the sticky element before being shifted
-
-
-
Method Detail
-
getStickyBoxRect
public Rect getStickyBoxRect()
Layout rectangle of the sticky element before being shifted
-
getContainingBlockRect
public Rect getContainingBlockRect()
Layout rectangle of the containing block of the sticky element
-
getNearestLayerShiftingStickyBox
public LayerId getNearestLayerShiftingStickyBox()
The nearest sticky layer that shifts the sticky box
-
getNearestLayerShiftingContainingBlock
public LayerId getNearestLayerShiftingContainingBlock()
The nearest sticky layer that shifts the containing block
-
-