public class MarginsCollapseHandler extends Object
Constructor and Description |
---|
MarginsCollapseHandler(IRenderer renderer, MarginsCollapseInfo marginsCollapseInfo) |
Modifier and Type | Method and Description |
---|---|
void |
applyClearance(float clearHeightCorrection) |
void |
endChildMarginsHandling(Rectangle layoutBox)
This method shall be called after child occupied area is included into parent occupied area.
|
void |
endMarginsCollapse(Rectangle layoutBox) |
void |
processFixedHeightAdjustment(float heightDelta) |
MarginsCollapseInfo |
startChildMarginsHandling(IRenderer child, Rectangle layoutBox) |
void |
startMarginsCollapse(Rectangle parentBBox) |
public MarginsCollapseHandler(IRenderer renderer, MarginsCollapseInfo marginsCollapseInfo)
public void processFixedHeightAdjustment(float heightDelta)
public MarginsCollapseInfo startChildMarginsHandling(IRenderer child, Rectangle layoutBox)
public void applyClearance(float clearHeightCorrection)
public void endChildMarginsHandling(Rectangle layoutBox)
layoutBox
-
public void startMarginsCollapse(Rectangle parentBBox)
public void endMarginsCollapse(Rectangle layoutBox)
Copyright © 1998–2020 iText Group NV. All rights reserved.