public class TextLabelCellDrawer<T extends TextLabelCell> extends TextCellDrawer<TextLabelCell>
cell| Constructor and Description |
|---|
TextLabelCellDrawer(T cell) |
| Modifier and Type | Method and Description |
|---|---|
protected float |
calculateHeight(int lineCnt) |
protected float |
calculateYOffset(org.apache.pdfbox.pdmodel.font.PDFont currentFont,
int currentFontSize,
int lineIndex) |
protected void |
drawColorLabel(DrawingContext drawingContext,
List<String> lines,
float xOffset,
float yOffset) |
void |
drawContent(DrawingContext drawingContext) |
protected void |
drawLine(DrawingContext drawingContext,
PositionedLine positionedLine) |
calculateAndGetLines, calculateCharSpacingFor, calculateInnerHeight, drawTextcalculateOuterHeight, drawBackground, drawBorders, getAdaptionForVerticalAlignment, getRowSpanAdaption, rowHeightIsBiggerThanOrEqualToCellHeight, withCellpublic TextLabelCellDrawer(T cell)
public void drawContent(DrawingContext drawingContext)
drawContent in interface DrawerdrawContent in class TextCellDrawer<TextLabelCell>protected float calculateHeight(int lineCnt)
protected float calculateYOffset(org.apache.pdfbox.pdmodel.font.PDFont currentFont,
int currentFontSize,
int lineIndex)
calculateYOffset in class TextCellDrawer<TextLabelCell>protected void drawLine(DrawingContext drawingContext, PositionedLine positionedLine) throws IOException
IOExceptionprotected void drawColorLabel(DrawingContext drawingContext, List<String> lines, float xOffset, float yOffset) throws IOException
IOExceptionCopyright © 2022. All rights reserved.