ellipse.setFillColor(new DeviceRGBColor(0,0,1));
ellipse.setText("Ellipse annotation");
// Rubber stamp.
composer.showText("Rubber stamp annotation:", new Point(35,435));
RubberStamp rubberStamp = new RubberStamp(
page,
new Rectangle(50, 450, 100, 30),
RubberStamp.IconTypeEnum.Approved
);
rubberStamp.setText("Rubber stamp annotation");
// Caret.
composer.showText("Caret annotation:", new Point(35,485));
Caret caret = new Caret(
page,