public abstract class AbstractTextMarkupAnnotationFlattener extends DefaultAnnotationFlattener
Text markup annotations are:
PdfTextMarkupAnnotation.MarkupHighlight,
PdfTextMarkupAnnotation.MarkupUnderline,
PdfTextMarkupAnnotation.MarkupSquiggly,
PdfTextMarkupAnnotation.MarkupStrikeout.
| Constructor and Description |
|---|
AbstractTextMarkupAnnotationFlattener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
flatten(PdfAnnotation annotation,
PdfPage page)
Flatten annotation.
|
protected Color |
getColor(PdfAnnotation annotation) |
static float[] |
getQuadPointsAsFloatArray(PdfAnnotation annotation)
Gets the quadpoints as a float array.
|
createCanvas, drawpublic AbstractTextMarkupAnnotationFlattener()
public static float[] getQuadPointsAsFloatArray(PdfAnnotation annotation)
annotation - the annotationpublic boolean flatten(PdfAnnotation annotation, PdfPage page)
flatten in interface IAnnotationFlattenerflatten in class DefaultAnnotationFlattenerannotation - annotation to flattenpage - page to flatten annotation onprotected Color getColor(PdfAnnotation annotation)
annotation - the annotation to extract the color from.Copyright © 1998–2025 Apryse Group NV. All rights reserved.