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

SetLineJoin() публичный метод

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

Usage Example

Пример #1
0
 void SetLineJoin(PdfContentByte cb, IDictionary<String, String> css)
 {
     String lineJoin;
     if (css.TryGetValue(SVGAttributes.LINE_JOIN, out lineJoin) && lineJoin != null)
     {
         if (lineJoin.Equals("round"))
         {
             cb.SetLineJoin(PdfContentByte.LINE_JOIN_ROUND);
         } else if (lineJoin.Equals("bevel")) {
             cb.SetLineJoin(PdfContentByte.LINE_JOIN_BEVEL);
         } else {
             cb.SetLineJoin(PdfContentByte.LINE_JOIN_MITER);
         }
     } else {
         cb.SetLineJoin(PdfContentByte.LINE_JOIN_MITER);
     }
 }
PdfContentByte