Class PDPolylineAppearanceHandler
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler
-
- org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDPolylineAppearanceHandler
-
- All Implemented Interfaces:
PDAppearanceHandler
public class PDPolylineAppearanceHandler extends PDAbstractAppearanceHandler
Handler to generate the polyline annotations appearance.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.commons.logging.Log
LOG
-
Fields inherited from class org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler
ANGLED_STYLES, ARROW_ANGLE, document, INTERIOR_COLOR_STYLES, SHORT_STYLES
-
-
Constructor Summary
Constructors Constructor Description PDPolylineAppearanceHandler(PDAnnotation annotation)
PDPolylineAppearanceHandler(PDAnnotation annotation, PDDocument document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateDownAppearance()
void
generateNormalAppearance()
void
generateRolloverAppearance()
(package private) float
getLineWidth()
Get the line with of the border.-
Methods inherited from class org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler
addRectDifferences, applyRectDifferences, createCOSStream, drawArrow, drawCircle, drawCircle2, drawDiamond, drawStyle, generateAppearanceStreams, getAnnotation, getAppearance, getColor, getDownAppearance, getNormalAppearanceAsContentStream, getNormalAppearanceAsContentStream, getPaddedRectangle, getRectangle, getRolloverAppearance, handleBorderBox, setOpacity
-
-
-
-
Constructor Detail
-
PDPolylineAppearanceHandler
public PDPolylineAppearanceHandler(PDAnnotation annotation)
-
PDPolylineAppearanceHandler
public PDPolylineAppearanceHandler(PDAnnotation annotation, PDDocument document)
-
-
Method Detail
-
generateNormalAppearance
public void generateNormalAppearance()
-
generateRolloverAppearance
public void generateRolloverAppearance()
-
generateDownAppearance
public void generateDownAppearance()
-
getLineWidth
float getLineWidth()
Get the line with of the border. Get the width of the line used to draw a border around the annotation. This may either be specified by the annotation dictionaries Border setting or by the W entry in the BS border style dictionary. If both are missing the default width is 1.- Returns:
- the line width
-
-