);
rectangle.setFillColor(new DeviceRGBColor(1,0,0));
rectangle.setText("Rectangle annotation");
// Ellipse.
composer.showText("Ellipse annotation:", new Point(35,385));
Ellipse ellipse = new Ellipse(
page,
new Rectangle(50, 400, 100, 30)
);
ellipse.setFillColor(new DeviceRGBColor(0,0,1));