com.lowagie.text.pdf.draw

Class DottedLineSeparator

public class DottedLineSeparator extends LineSeparator

Element that draws a dotted line from left to right. Can be added directly to a document or column. Can also be used to create a separator chunk.

Since: 2.1.2

Field Summary
protected floatgap
the gap between the dots.
Method Summary
voiddraw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y)
floatgetGap()
Getter for the gap between the center of the dots of the dotted line.
voidsetGap(float gap)
Setter for the gap between the center of the dots of the dotted line.

Field Detail

gap

protected float gap
the gap between the dots.

Method Detail

draw

public void draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y)

See Also: DrawInterface

getGap

public float getGap()
Getter for the gap between the center of the dots of the dotted line.

Returns: the gap between the center of the dots

setGap

public void setGap(float gap)
Setter for the gap between the center of the dots of the dotted line.

Parameters: gap the gap between the center of the dots