Class StrikeOutTextMarkupAnnotationFlattener
java.lang.Object
com.itextpdf.kernel.utils.annotationsflattening.DefaultAnnotationFlattener
com.itextpdf.kernel.utils.annotationsflattening.AbstractTextMarkupAnnotationFlattener
com.itextpdf.kernel.utils.annotationsflattening.StrikeOutTextMarkupAnnotationFlattener
- All Implemented Interfaces:
IAnnotationFlattener
Implementation of
IAnnotationFlattener for strikeout annotations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandraw(PdfAnnotation annotation, PdfPage page) Draws annotation.Methods inherited from class AbstractTextMarkupAnnotationFlattener
flatten, getColor, getQuadPointsAsFloatArrayMethods inherited from class DefaultAnnotationFlattener
createCanvas
-
Constructor Details
-
StrikeOutTextMarkupAnnotationFlattener
public StrikeOutTextMarkupAnnotationFlattener()Creates a newStrikeOutTextMarkupAnnotationFlattenerinstance.
-
-
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:
drawin classDefaultAnnotationFlattener- Parameters:
annotation- annotation to drawpage- page to draw annotation on- Returns:
- true if annotation was drawn, false otherwise
-