Class PDAnnotationUnderline

    • Constructor Detail

      • PDAnnotationUnderline

        public PDAnnotationUnderline()
        Constructor.
      • PDAnnotationUnderline

        public PDAnnotationUnderline​(COSDictionary dict)
        Constructor.
        Parameters:
        dict - The annotations dictionary.
    • Method Detail

      • setCustomAppearanceHandler

        public void setCustomAppearanceHandler​(PDAppearanceHandler appearanceHandler)
        Set a custom appearance handler for generating the annotations appearance streams.
        Parameters:
        appearanceHandler - custom appearance handler
      • constructAppearances

        public void constructAppearances()
        Description copied from class: PDAnnotation
        Create the appearance entry for this annotation. Not having it may prevent display in some viewers. This method is for overriding in subclasses, the default implementation does nothing.
        Overrides:
        constructAppearances in class PDAnnotation
      • constructAppearances

        public void constructAppearances​(PDDocument document)
        Description copied from class: PDAnnotation
        Create the appearance entry for this annotation. Not having it may prevent display in some viewers. This method is for overriding in subclasses, the default implementation does nothing.
        Overrides:
        constructAppearances in class PDAnnotation
        Parameters:
        document - the related document