Class StickyPositionConstraint

java.lang.Object
io.webfolder.cdp.type.layertree.StickyPositionConstraint

public class StickyPositionConstraint extends Object
Sticky position constraints.
  • Constructor Details

    • StickyPositionConstraint

      public StickyPositionConstraint()
  • Method Details

    • getStickyBoxRect

      public Rect getStickyBoxRect()
      Layout rectangle of the sticky element before being shifted
    • setStickyBoxRect

      public void setStickyBoxRect(Rect stickyBoxRect)
      Layout rectangle of the sticky element before being shifted
    • getContainingBlockRect

      public Rect getContainingBlockRect()
      Layout rectangle of the containing block of the sticky element
    • setContainingBlockRect

      public void setContainingBlockRect(Rect containingBlockRect)
      Layout rectangle of the containing block of the sticky element
    • getNearestLayerShiftingStickyBox

      public String getNearestLayerShiftingStickyBox()
      The nearest sticky layer that shifts the sticky box
    • setNearestLayerShiftingStickyBox

      public void setNearestLayerShiftingStickyBox(String nearestLayerShiftingStickyBox)
      The nearest sticky layer that shifts the sticky box
    • getNearestLayerShiftingContainingBlock

      public String getNearestLayerShiftingContainingBlock()
      The nearest sticky layer that shifts the containing block
    • setNearestLayerShiftingContainingBlock

      public void setNearestLayerShiftingContainingBlock(String nearestLayerShiftingContainingBlock)
      The nearest sticky layer that shifts the containing block
    • toString

      public String toString()
      Overrides:
      toString in class Object