public class StickyPositionConstraint extends Object
| Constructor and Description |
|---|
StickyPositionConstraint() |
| Modifier and Type | Method and Description |
|---|---|
Rect |
getContainingBlockRect()
Layout rectangle of the containing block of the sticky element
|
String |
getNearestLayerShiftingContainingBlock()
The nearest sticky layer that shifts the containing block
|
String |
getNearestLayerShiftingStickyBox()
The nearest sticky layer that shifts the sticky box
|
Rect |
getStickyBoxRect()
Layout rectangle of the sticky element before being shifted
|
void |
setContainingBlockRect(Rect containingBlockRect)
Layout rectangle of the containing block of the sticky element
|
void |
setNearestLayerShiftingContainingBlock(String nearestLayerShiftingContainingBlock)
The nearest sticky layer that shifts the containing block
|
void |
setNearestLayerShiftingStickyBox(String nearestLayerShiftingStickyBox)
The nearest sticky layer that shifts the sticky box
|
void |
setStickyBoxRect(Rect stickyBoxRect)
Layout rectangle of the sticky element before being shifted
|
public Rect getStickyBoxRect()
public void setStickyBoxRect(Rect stickyBoxRect)
public Rect getContainingBlockRect()
public void setContainingBlockRect(Rect containingBlockRect)
public String getNearestLayerShiftingStickyBox()
public void setNearestLayerShiftingStickyBox(String nearestLayerShiftingStickyBox)
public String getNearestLayerShiftingContainingBlock()
public void setNearestLayerShiftingContainingBlock(String nearestLayerShiftingContainingBlock)
Copyright © 2020. All rights reserved.