class DottedLineSeparator extends LineSeparator {

    /**
     * the gap between the dots.
     */
    protected float gap = 5;

    /**
     * @see com.lowagie.text.pdf.draw.DrawInterface#draw(com.lowagie.text.pdf.PdfContentByte, float, float, float,
     * float, float)
     */
    public void draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y) {<FILL_FUNCTION_BODY>}

    /**
     * Getter for the gap between the center of the dots of the dotted line.
     *
     * @return the gap between the center of the dots
     */
    public float getGap() {
        return gap;
    }

    /**
     * Setter for the gap between the center of the dots of the dotted line.
     *
     * @param gap the gap between the center of the dots
     */
    public void setGap(float gap) {
        this.gap = gap;
    }

}

        canvas.saveState();
        canvas.setLineWidth(lineWidth);
        canvas.setLineCap(PdfContentByte.LINE_CAP_ROUND);
        canvas.setLineDash(0, gap, gap / 2);
        drawLine(canvas, llx, urx, y);
        canvas.restoreState();
    
<methods>public void <init>(float, float, java.awt.Color, int, float) ,public void <init>() ,public void draw(com.lowagie.text.pdf.PdfContentByte, float, float, float, float, float) ,public void drawLine(com.lowagie.text.pdf.PdfContentByte, float, float, float) ,public int getAlignment() ,public java.awt.Color getLineColor() ,public float getLineWidth() ,public float getPercentage() ,public void setAlignment(int) ,public void setLineColor(java.awt.Color) ,public void setLineWidth(float) ,public void setPercentage(float) <variables>protected int alignment,protected java.awt.Color lineColor,protected float lineWidth,protected float percentage