public class LayoutContext extends Object
layouting
.Modifier and Type | Field and Description |
---|---|
protected LayoutArea |
area
The
area the content to be placed on. |
protected boolean |
clippedHeight
Indicates whether the height is clipped or not.
|
protected List<Rectangle> |
floatRendererAreas |
protected MarginsCollapseInfo |
marginsCollapseInfo |
Constructor and Description |
---|
LayoutContext(LayoutArea area) |
LayoutContext(LayoutArea area,
boolean clippedHeight) |
LayoutContext(LayoutArea area,
MarginsCollapseInfo marginsCollapseInfo) |
LayoutContext(LayoutArea area,
MarginsCollapseInfo marginsCollapseInfo,
List<Rectangle> floatedRendererAreas) |
LayoutContext(LayoutArea area,
MarginsCollapseInfo marginsCollapseInfo,
List<Rectangle> floatedRendererAreas,
boolean clippedHeight) |
Modifier and Type | Method and Description |
---|---|
LayoutArea |
getArea()
Gets the
area the content to be placed on. |
List<Rectangle> |
getFloatRendererAreas() |
MarginsCollapseInfo |
getMarginsCollapseInfo() |
boolean |
isClippedHeight()
Indicates whether the layout area's height is clipped or not.
|
void |
setClippedHeight(boolean clippedHeight)
Defines whether the layout area's height is clipped or not.
|
String |
toString() |
protected LayoutArea area
area
the content to be placed on.protected MarginsCollapseInfo marginsCollapseInfo
protected boolean clippedHeight
public LayoutContext(LayoutArea area)
public LayoutContext(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo)
public LayoutContext(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, List<Rectangle> floatedRendererAreas)
public LayoutContext(LayoutArea area, boolean clippedHeight)
public LayoutContext(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, List<Rectangle> floatedRendererAreas, boolean clippedHeight)
public LayoutArea getArea()
area
the content to be placed on.public MarginsCollapseInfo getMarginsCollapseInfo()
public boolean isClippedHeight()
public void setClippedHeight(boolean clippedHeight)
clippedHeight
- Copyright © 1998–2019 iText Group NV. All rights reserved.