public void SetLineDash(float unitsOn, float phase) { content.Append('[').Append(unitsOn).Append("] ").Append(phase).Append(" d").Append_i(separator); }
/** * @see com.lowagie.text.pdf.draw.DrawInterface#draw(com.lowagie.text.pdf.PdfContentByte, float, float, float, float, float) */ public override void Draw(PdfContentByte canvas, float llx, float lly, float urx, float ury, float y) { canvas.SaveState(); canvas.SetLineWidth(lineWidth); canvas.SetLineCap(PdfContentByte.LINE_CAP_ROUND); canvas.SetLineDash(0, gap, gap / 2); DrawLine(canvas, llx, urx, y); canvas.RestoreState(); }