iTextSharp.text.pdf.PdfContentByte.SetLineCap C# (CSharp) Метод

SetLineCap() публичный Метод

public SetLineCap ( int value ) : void
value int
Результат void
        public void SetLineCap(int value)
        {
            if (value >= 0 && value <= 2) {
                content.Append(value).Append(" J").Append_i(separator);
            }
        }

Usage Example

Пример #1
1
 /**
 * @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();
 }
All Usage Examples Of iTextSharp.text.pdf.PdfContentByte::SetLineCap
PdfContentByte