/// <summary> /// Add line primitive to the page /// </summary> public PathElement AddLine(float x1, float y1, float x2, float y2, PdfDrawStyle style) { var path = new PathElement(x1, y1, style); path.AddLine(x2, y2); Add(path); return(path); }