composer.end();
// Scribble.
composer.showText("Scribble annotation:", new Point(35,285));
Scribble scribble = new Scribble(
page,
new Rectangle(50, 300, 100, 30),
Arrays.asList(
Arrays.asList(
(Point2D)new Point(50,300),
(Point2D)new Point(70,310),
(Point2D)new Point(100,320)
)
)
);
scribble.setText("Scribble annotation");
// Rectangle.
composer.showText("Rectangle annotation:", new Point(35,335));
org.pdfclown.documents.interaction.annotations.Rectangle rectangle = new org.pdfclown.documents.interaction.annotations.Rectangle(
page,