public interface ILineDrawer
ILineDrawer defines a drawing operation on a PdfCanvas
com.itextpdf.layout.element.TabStop through a Strategy design
pattern| Modifier and Type | Method and Description |
|---|---|
void |
draw(PdfCanvas canvas,
Rectangle drawArea)
Performs configurable drawing operations related to specific region
coordinates on a canvas.
|
Color |
getColor()
Gets the color of the line
|
float |
getLineWidth()
Gets the width of the line
|
void |
setColor(Color color)
Sets line color
|
void |
setLineWidth(float lineWidth)
Sets line width in points
|
void draw(PdfCanvas canvas, Rectangle drawArea)
canvas - the canvas to draw ondrawArea - the rectangle in relation to which to fulfill drawing
instructionsfloat getLineWidth()
void setLineWidth(float lineWidth)
lineWidth - new line widthColor getColor()
void setColor(Color color)
color - new line colorCopyright © 1998–2021 iText Group NV. All rights reserved.