标签:
PdfContentByte cb = writer.DirectContentUnder;
//填充色的赋值
cb.SetColorFill(BaseColor.BLUE);
//边框线的赋值
cb.SetColorStroke(BaseColor.BLACK);
cb.SetLineWidth(2f);
//cb.Circle(120f, 250f, 50f);
cb.RoundRectangle(100, 100, 100, 100, 30);
//画矢量图并画线和颜色填充
cb.FillStroke();
//画矢量图画线
cb.Fill();
//画矢量图颜色填充
cb.Stroke();
标签:
原文地址:http://www.cnblogs.com/jerry-l/p/4998774.html