public class LineLayoutContext extends LayoutContext
layouting.
area, clippedHeight, floatRendererAreas, marginsCollapseInfo| Constructor and Description |
|---|
LineLayoutContext(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, List<Rectangle> floatedRendererAreas, boolean clippedHeight) |
LineLayoutContext(LayoutContext layoutContext) |
| Modifier and Type | Method and Description |
|---|---|
float |
getTextIndent()
Gets the indent of text in the beginning of the current line.
|
boolean |
isFloatOverflowedToNextPageWithNothing()
Specifies whether some floating element within the same paragraph has already completely overflowed to the next page.
|
LineLayoutContext |
setFloatOverflowedToNextPageWithNothing(boolean floatOverflowedToNextPageWithNothing)
Changes the value of property specified by isFloatOverflowedToNextPageWithNothing().
|
LineLayoutContext |
setTextIndent(float textIndent)
Sets the indent of text in the beginning of the current line.
|
getArea, getFloatRendererAreas, getMarginsCollapseInfo, isClippedHeight, setClippedHeight, toStringpublic LineLayoutContext(LayoutArea area, MarginsCollapseInfo marginsCollapseInfo, List<Rectangle> floatedRendererAreas, boolean clippedHeight)
public LineLayoutContext(LayoutContext layoutContext)
public boolean isFloatOverflowedToNextPageWithNothing()
public LineLayoutContext setFloatOverflowedToNextPageWithNothing(boolean floatOverflowedToNextPageWithNothing)
isFloatOverflowedToNextPageWithNothing().
floatOverflowedToNextPageWithNothing - true if some floating element already completely overflowed.
LineLayoutContext instance.
public float getTextIndent()
public LineLayoutContext setTextIndent(float textIndent)
textIndent - the indent of text in this line.
LineLayoutContext instance.
Copyright © 1998–2021 iText Group NV. All rights reserved.