public class RowElement
extends Element
Element.Companion
Constructor and Description |
---|
RowElement(TableElement parent) |
Modifier and Type | Method and Description |
---|---|
java.util.List<com.github.timrs2998.pdfbuilder.TextElement> |
getColumns() |
float |
getMinHeight() |
TableElement |
getParent() |
java.util.List<java.lang.Float> |
getWeights() |
float |
instanceHeight(float width,
float startY)
Determines the innermost height of the element, excluding margins and padding.
|
void |
renderInstance(org.apache.pdfbox.pdmodel.PDDocument pdDocument,
float startX,
float endX,
float startY,
float minHeight)
Renders the innermost element, excluding margins, padding, borders, and background.
|
void |
setMinHeight(float p) |
void |
setWeights(java.util.List<java.lang.Float> p) |
getBackgroundColor, getBorder, getDocument, getFontColor, getFontSize, getHorizontalAlignment, getMargin, getPadding, getParent, getPdFont, height, instanceHeight, render, renderInstance, setBackgroundColor, setBorder, setFontColor, setFontSize, setHorizontalAlignment, setMargin, setPadding, setPdFont
public RowElement(TableElement parent)
public java.util.List<com.github.timrs2998.pdfbuilder.TextElement> getColumns()
public float getMinHeight()
public void setMinHeight(float p)
public java.util.List<java.lang.Float> getWeights()
public void setWeights(java.util.List<java.lang.Float> p)
public float instanceHeight(float width, float startY)
Determines the innermost height of the element, excluding margins and padding.
public void renderInstance(org.apache.pdfbox.pdmodel.PDDocument pdDocument, float startX, float endX, float startY, float minHeight)
Renders the innermost element, excluding margins, padding, borders, and background.
public TableElement getParent()