Class SquigglyTextMarkupAnnotationFlattener
java.lang.Object
com.itextpdf.kernel.utils.annotationsflattening.DefaultAnnotationFlattener
com.itextpdf.kernel.utils.annotationsflattening.AbstractTextMarkupAnnotationFlattener
com.itextpdf.kernel.utils.annotationsflattening.SquigglyTextMarkupAnnotationFlattener
- All Implemented Interfaces:
IAnnotationFlattener
Implementation of
IAnnotationFlattener
for squiggly annotations.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
draw
(PdfAnnotation annotation, PdfPage page) Draws annotation.Methods inherited from class com.itextpdf.kernel.utils.annotationsflattening.AbstractTextMarkupAnnotationFlattener
flatten, getColor, getQuadPointsAsFloatArray
Methods inherited from class com.itextpdf.kernel.utils.annotationsflattening.DefaultAnnotationFlattener
createCanvas
-
Field Details
-
HEIGHT
private static final double HEIGHT- See Also:
-
ADVANCE
private static final double ADVANCE- See Also:
-
-
Constructor Details
-
SquigglyTextMarkupAnnotationFlattener
public SquigglyTextMarkupAnnotationFlattener()Creates a newSquigglyTextMarkupAnnotationFlattener
instance.
-
-
Method Details
-
draw
Draws annotation. This method is called if the normal appearance stream of the annotation is not present. The default implementation returns false.- Overrides:
draw
in classDefaultAnnotationFlattener
- Parameters:
annotation
- annotation to drawpage
- page to draw annotation on- Returns:
- true if annotation was drawn, false otherwise
-