Example usage for Java com.itextpdf.text.pdf.draw LineSeparator fields, constructors, methods, implement or subclass
The text is from its open source code.
LineSeparator(float lineWidth, float percentage, BaseColor lineColor, int align, float offset) Creates a new instance of the LineSeparator class. | |
LineSeparator() Creates a new instance of the LineSeparator class with default values: lineWidth 1 user unit, width 100%, centered with offset 0. |
void | drawLine(PdfContentByte canvas, float leftX, float rightX, float y) Draws a horizontal line. |
void | setAlignment(int align) Setter for the alignment of the line. |
void | setLineColor(BaseColor color) Setter for the color of the line that will be drawn. |
void | setLineWidth(float lineWidth) Setter for the line width. |