Class PDCircleAppearanceHandler
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAbstractAppearanceHandler
org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDCircleAppearanceHandler
- All Implemented Interfaces:
PDAppearanceHandler
Handler to generate the circle 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
ConstructorsConstructorDescriptionPDCircleAppearanceHandler(PDAnnotation annotation) PDCircleAppearanceHandler(PDAnnotation annotation, PDDocument document) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoid(package private) floatGet 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, getDefaultFont, getDownAppearance, getNormalAppearanceAsContentStream, getNormalAppearanceAsContentStream, getPaddedRectangle, getRectangle, getRolloverAppearance, handleBorderBox, setOpacityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pdfbox.pdmodel.interactive.annotation.handlers.PDAppearanceHandler
generateAppearanceStreams
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOG
-
-
Constructor Details
-
PDCircleAppearanceHandler
-
PDCircleAppearanceHandler
-
-
Method Details
-
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
-