Class StickyPositionConstraint
- java.lang.Object
-
- org.openqa.selenium.devtools.v112.layertree.model.StickyPositionConstraint
-
public class StickyPositionConstraint extends java.lang.Object
Sticky position constraints.
-
-
Constructor Summary
Constructors Constructor Description StickyPositionConstraint(Rect stickyBoxRect, Rect containingBlockRect, java.util.Optional<LayerId> nearestLayerShiftingStickyBox, java.util.Optional<LayerId> nearestLayerShiftingContainingBlock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rect
getContainingBlockRect()
Layout rectangle of the containing block of the sticky elementjava.util.Optional<LayerId>
getNearestLayerShiftingContainingBlock()
The nearest sticky layer that shifts the containing blockjava.util.Optional<LayerId>
getNearestLayerShiftingStickyBox()
The nearest sticky layer that shifts the sticky boxRect
getStickyBoxRect()
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 java.util.Optional<LayerId> getNearestLayerShiftingStickyBox()
The nearest sticky layer that shifts the sticky box
-
getNearestLayerShiftingContainingBlock
public java.util.Optional<LayerId> getNearestLayerShiftingContainingBlock()
The nearest sticky layer that shifts the containing block
-
-