Class PDSquareAppearanceHandler
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler
org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDSquareAppearanceHandler
- All Implemented Interfaces:
PDAppearanceHandler
Handler to generate the square annotations appearance.
-
Field Summary
FieldsFields inherited from class org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler
ANGLED_STYLES, ARROW_ANGLE, document, INTERIOR_COLOR_STYLES, SHORT_STYLES
-
Constructor Summary
ConstructorsConstructorDescriptionPDSquareAppearanceHandler
(PDAnnotation annotation) PDSquareAppearanceHandler
(PDAnnotation annotation, PDDocument document) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
(package private) float
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, getAnnotation, getAppearance, getColor, getDownAppearance, getNormalAppearanceAsContentStream, getNormalAppearanceAsContentStream, getPaddedRectangle, getRectangle, getRolloverAppearance, handleBorderBox, setOpacity
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOG
-
-
Constructor Details
-
PDSquareAppearanceHandler
-
PDSquareAppearanceHandler
-
-
Method Details
-
generateAppearanceStreams
public void generateAppearanceStreams() -
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
-