com.itextpdf.text.pdf
Class FloatLayout
java.lang.Object
com.itextpdf.text.pdf.FloatLayout
public class FloatLayout
- extends Object
Helper class for PdfDiv to put a collection of Element objects
at an absolute position.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxY
protected float maxY
minY
protected float minY
leftX
protected float leftX
rightX
protected float rightX
yLine
protected float yLine
floatLeftX
protected float floatLeftX
floatRightX
protected float floatRightX
filledWidth
protected float filledWidth
compositeColumn
protected final ColumnText compositeColumn
content
protected final List<Element> content
useAscender
protected final boolean useAscender
FloatLayout
public FloatLayout(List<Element> elements,
boolean useAscender)
getYLine
public float getYLine()
setYLine
public void setYLine(float yLine)
getFilledWidth
public float getFilledWidth()
setFilledWidth
public void setFilledWidth(float filledWidth)
setSimpleColumn
public void setSimpleColumn(float llx,
float lly,
float urx,
float ury)
layout
public int layout(PdfContentByte canvas,
boolean simulate)
throws DocumentException
- Throws:
DocumentException
Copyright © 2013. All Rights Reserved.