- /**
- * Print the transition.
- *
- * @param theTransition the printable transition
- */
- private void printOnOnePage(final AbstractPrintableTransition theTransition) {
- Dimension d = getPageSize();
- PdfContentByte cb = writer.getDirectContent();
- Graphics2D g2 = cb.createGraphics(d.width, d.height);
- theTransition.print(g2);
- g2.dispose();
- document.newPage();
- }
-