iText 8.0.5 API
|
The ILineDrawer defines a drawing operation on a iText.Kernel.Pdf.Canvas.PdfCanvas More...
Public Member Functions |
|
void | Draw (PdfCanvas canvas, Rectangle drawArea) |
Performs configurable drawing operations related to specific region coordinates on a canvas. More... |
|
float | GetLineWidth () |
Gets the width of the line More... |
|
void | SetLineWidth (float lineWidth) |
Sets line width in points More... |
|
Color | GetColor () |
Gets the color of the line More... |
|
void | SetColor (Color color) |
Sets line color More... |
|
The ILineDrawer defines a drawing operation on a iText.Kernel.Pdf.Canvas.PdfCanvas
The ILineDrawer defines a drawing operation on a iText.Kernel.Pdf.Canvas.PdfCanvas
This interface allows to customize the 'empty' space in a com.itextpdf.layout.element.TabStop
through a Strategy design pattern
Performs configurable drawing operations related to specific region coordinates on a canvas.
canvas | the canvas to draw on |
drawArea | the rectangle in relation to which to fulfill drawing instructions |
Implemented in iText.Kernel.Pdf.Canvas.Draw.DottedLine, iText.Kernel.Pdf.Canvas.Draw.DashedLine, and iText.Kernel.Pdf.Canvas.Draw.SolidLine.
Color iText.Kernel.Pdf.Canvas.Draw.ILineDrawer.GetColor | ( | ) |
Gets the color of the line
Implemented in iText.Kernel.Pdf.Canvas.Draw.DottedLine, iText.Kernel.Pdf.Canvas.Draw.DashedLine, and iText.Kernel.Pdf.Canvas.Draw.SolidLine.
float iText.Kernel.Pdf.Canvas.Draw.ILineDrawer.GetLineWidth | ( | ) |
Gets the width of the line
Implemented in iText.Kernel.Pdf.Canvas.Draw.DottedLine, iText.Kernel.Pdf.Canvas.Draw.DashedLine, and iText.Kernel.Pdf.Canvas.Draw.SolidLine.
void iText.Kernel.Pdf.Canvas.Draw.ILineDrawer.SetColor | ( | Color | color | ) |
Sets line color
color | new line color |
Implemented in iText.Kernel.Pdf.Canvas.Draw.DottedLine, iText.Kernel.Pdf.Canvas.Draw.DashedLine, and iText.Kernel.Pdf.Canvas.Draw.SolidLine.
void iText.Kernel.Pdf.Canvas.Draw.ILineDrawer.SetLineWidth | ( | float | lineWidth | ) |
Sets line width in points
lineWidth | new line width |
Implemented in iText.Kernel.Pdf.Canvas.Draw.DottedLine, iText.Kernel.Pdf.Canvas.Draw.DashedLine, and iText.Kernel.Pdf.Canvas.Draw.SolidLine.