pictureBackdrop(gap, 500, cb);
pictureBackdrop(200 + 2 * gap, 500, cb);
pictureBackdrop(gap, 500 - 200 - gap, cb);
pictureBackdrop(200 + 2 * gap, 500 - 200 - gap, cb);
PdfTemplate tp;
PdfTransparencyGroup group;
tp = cb.createTemplate(200, 200);
pictureCircles(0, 0, tp);
group = new PdfTransparencyGroup();
group.setIsolated(true);
group.setKnockout(true);
tp.setGroup(group);
tp.sanityCheck();
cb.addTemplate(tp, gap, 500);
tp = cb.createTemplate(200, 200);
pictureCircles(0, 0, tp);
group = new PdfTransparencyGroup();
group.setIsolated(true);
group.setKnockout(false);
tp.setGroup(group);
tp.sanityCheck();
cb.addTemplate(tp, 200 + 2 * gap, 500);
tp = cb.createTemplate(200, 200);
pictureCircles(0, 0, tp);
group = new PdfTransparencyGroup();
group.setIsolated(false);
group.setKnockout(true);
tp.setGroup(group);
tp.sanityCheck();
cb.addTemplate(tp, gap, 500 - 200 - gap);
tp = cb.createTemplate(200, 200);
pictureCircles(0, 0, tp);
group = new PdfTransparencyGroup();
group.setIsolated(false);
group.setKnockout(false);
tp.setGroup(group);
tp.sanityCheck();
cb.addTemplate(tp, 200 + 2 * gap, 500 - 200 - gap);
cb.sanityCheck();
}
catch (Exception de) {