public SetLineDash ( float unitsOn, float unitsOff, float phase ) : void | ||
unitsOn | float | |
unitsOff | float | |
phase | float | |
Résultat | void |
public void SetLineDash(float unitsOn, float unitsOff, float phase)
{
content.Append('[').Append(unitsOn).Append(' ').Append(unitsOff).Append("] ").Append(phase).Append(" d").Append_i(separator);
}
PdfContentByte::SetLineDash ( float value ) : void | |
PdfContentByte::SetLineDash ( float unitsOn, float phase ) : void |
/** * @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(); }