|
iText 9.0.0 API
|
This class is used to flatten annotations. More...
Public Member Functions |
|
| DefaultAnnotationFlattener () | |
| Creates a new DefaultAnnotationFlattener instance. More... |
|
| virtual bool | Flatten (PdfAnnotation annotation, PdfPage page) |
| Flatten annotation. More... |
|
Package Functions |
|
| virtual PdfCanvas | CreateCanvas (PdfPage page) |
| Creates a canvas. More... |
|
| virtual bool | Draw (PdfAnnotation annotation, PdfPage page) |
| Draws annotation. More... |
|
This class is used to flatten annotations.
This class is used to flatten annotations. The default implementation first tries to draw the normal appearance stream of the annotation. If the normal appearance stream is not present, then it tries to draw the annotation using the fallback implementation.
|
inline |
Creates a new DefaultAnnotationFlattener instance.
|
inlinepackagevirtual |
Creates a canvas.
Creates a canvas. It will draw above the other items on the canvas.
| page | the page to draw the annotation on |
Reimplemented in iText.Kernel.Utils.Annotationsflattening.HighLightTextMarkupAnnotationFlattener.
|
inlinepackagevirtual |
Draws annotation.
Draws annotation. This method is called if the normal appearance stream of the annotation is not present. The default implementation returns false.
| annotation | annotation to draw |
| page | page to draw annotation on |
Reimplemented in iText.Kernel.Utils.Annotationsflattening.HighLightTextMarkupAnnotationFlattener, iText.Kernel.Utils.Annotationsflattening.SquigglyTextMarkupAnnotationFlattener, iText.Kernel.Utils.Annotationsflattening.StrikeOutTextMarkupAnnotationFlattener, and iText.Kernel.Utils.Annotationsflattening.UnderlineTextMarkupAnnotationFlattener.
|
inlinevirtual |
Flatten annotation.
Implements iText.Kernel.Utils.Annotationsflattening.IAnnotationFlattener.
Reimplemented in iText.Kernel.Utils.Annotationsflattening.AbstractTextMarkupAnnotationFlattener.