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 on
drawArea
- the rectangle in relation to which to fulfill drawing instructions
float getLineWidth()
void setLineWidth(float lineWidth)
lineWidth
- new line width
Color getColor()
void setColor(Color color)
color
- new line color
Copyright © 1998–2023 iText Group NV. All rights reserved.