public class BarScalebarDrawer extends ScalebarDrawer
barSize, block, intervalWidth, labels, subIntervals| Constructor and Description |
|---|
BarScalebarDrawer(PDFCustomBlocks customBlocks,
ScalebarBlock block,
java.util.List<Label> labels,
int barSize,
int labelDistance,
int subIntervals,
float intervalWidth,
com.itextpdf.text.Font pdfFont,
float leftLabelMargin,
float rightLabelMargin,
float maxLabelWidth,
float maxLabelHeight) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawBar(com.itextpdf.text.pdf.PdfContentByte dc)
Draws the bar itself.
|
create, renderImpladdAbsoluteDrawer, render, tableLayoutpublic BarScalebarDrawer(PDFCustomBlocks customBlocks, ScalebarBlock block, java.util.List<Label> labels, int barSize, int labelDistance, int subIntervals, float intervalWidth, com.itextpdf.text.Font pdfFont, float leftLabelMargin, float rightLabelMargin, float maxLabelWidth, float maxLabelHeight)
protected void drawBar(com.itextpdf.text.pdf.PdfContentByte dc)
ScalebarDrawerdrawBar in class ScalebarDrawer