Java com.itextpdf.text.pdf.draw LineSeparator fields, constructors, methods, implement or subclass

Example usage for Java com.itextpdf.text.pdf.draw LineSeparator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.itextpdf.text.pdf.draw LineSeparator.

The text is from its open source code.

Constructor

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.

Method

voiddrawLine(PdfContentByte canvas, float leftX, float rightX, float y)
Draws a horizontal line.
voidsetAlignment(int align)
Setter for the alignment of the line.
voidsetLineColor(BaseColor color)
Setter for the color of the line that will be drawn.
voidsetLineWidth(float lineWidth)
Setter for the line width.