diff --git a/src/test/java/de/rototor/pdfbox/graphics2d/PdfBoxGraphics2dTest.java b/src/test/java/de/rototor/pdfbox/graphics2d/PdfBoxGraphics2dTest.java index 85f5d9d..fac87f9 100644 --- a/src/test/java/de/rototor/pdfbox/graphics2d/PdfBoxGraphics2dTest.java +++ b/src/test/java/de/rototor/pdfbox/graphics2d/PdfBoxGraphics2dTest.java @@ -51,8 +51,17 @@ public void draw(Graphics2D gfx) throws IOException, FontFormatException { gfx.fill(AffineTransform.getTranslateInstance(30f, 20f).createTransformedShape(rect)); Composite composite = gfx.getComposite(); gfx.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.5f)); - gfx.setColor(Color.blue); + gfx.setColor(Color.cyan); gfx.fillRect(15, 0, 40, 40); + gfx.setColor(Color.green); + gfx.drawRect(20, 10, 50, 50); + gfx.setColor(Color.magenta); + gfx.fill(new Ellipse2D.Double(20, 20, 100, 100)); + gfx.setColor(Color.orange); + gfx.fill(new Ellipse2D.Double(20, 20, -100, 100)); + gfx.setPaint(gp); + gfx.fill(new Ellipse2D.Double(10, 80, 20, 20)); + gfx.fill(new Ellipse2D.Double(10, 100, -20, -20)); gfx.setComposite(composite); }