public void AddToBody() { if (bBox != null) shading.Put(PdfName.BBOX, new PdfArray(bBox)); if (antiAlias) shading.Put(PdfName.ANTIALIAS, PdfBoolean.PDFTRUE); writer.AddToBody(shading, this.ShadingReference); }