131132133134135136137138139140141
cb.endText(); cb.setPatternFill(p); // draw a circle. Similar to rectangle cb.setGrayStroke(0.0f); cb.circle(150f, 400f, 150f); cb.fillStroke(); // New Page to draw text in the pattern painter's canvas document.newPage();
159160161162163164165166167168169
cb.endText(); // draw a circle cb.setPatternFill(p1); cb.setGrayStroke(0.0f); cb.circle(150f, 400f, 150f); cb.fillStroke(); cb.sanityCheck(); // New page to place image in the pattern painter's canvas document.newPage();
190191192193194195196197198199200
cb.endText(); // draw a circle cb.setPatternFill(p2); cb.setGrayStroke(0.0f); cb.circle(150f, 400f, 150f); cb.fillStroke(); cb.sanityCheck(); } catch(Exception e) {