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
public class StrikeOutTextMarkupAnnotationFlattener extends AbstractTextMarkupAnnotationFlattener
Implementation ofIAnnotationFlattener
for strikeout annotations.
-
-
Constructor Summary
Constructors Constructor Description StrikeOutTextMarkupAnnotationFlattener()
Creates a newStrikeOutTextMarkupAnnotationFlattener
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Constructor Detail
-
StrikeOutTextMarkupAnnotationFlattener
public StrikeOutTextMarkupAnnotationFlattener()
Creates a newStrikeOutTextMarkupAnnotationFlattener
instance.
-
-
Method Detail
-
draw
protected boolean draw(PdfAnnotation annotation, PdfPage page)
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
-
-