public class DefaultAnnotationFlattener extends Object implements IAnnotationFlattener
| Constructor and Description |
|---|
DefaultAnnotationFlattener()
Creates a new
DefaultAnnotationFlattener instance. |
| Modifier and Type | Method and Description |
|---|---|
protected PdfCanvas |
createCanvas(PdfPage page)
Creates a canvas.
|
protected boolean |
draw(PdfAnnotation annotation,
PdfPage page)
Draws annotation.
|
boolean |
flatten(PdfAnnotation annotation,
PdfPage page)
Flatten annotation.
|
public DefaultAnnotationFlattener()
DefaultAnnotationFlattener instance.public boolean flatten(PdfAnnotation annotation, PdfPage page)
flatten in interface IAnnotationFlattenerannotation - annotation to flattenpage - page to flatten annotation onprotected PdfCanvas createCanvas(PdfPage page)
page - the page to draw the annotation onPdfCanvas the annotation will be drawn upon.protected boolean draw(PdfAnnotation annotation, PdfPage page)
annotation - annotation to drawpage - page to draw annotation onCopyright © 1998–2024 Apryse Group NV. All rights reserved.