Class PDAnnotationCircle

All Implemented Interfaces:
COSObjectable

public class PDAnnotationCircle extends PDAnnotationSquareCircle
  • Field Details

  • Constructor Details

    • PDAnnotationCircle

      public PDAnnotationCircle()
    • PDAnnotationCircle

      public PDAnnotationCircle(COSDictionary field)
      Creates a circle annotation from a COSDictionary, expected to be a correct object definition.
      Parameters:
      field - the PDF object to represent as a field.
  • Method Details

    • 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.
      Specified by:
      constructAppearances in class PDAnnotationSquareCircle
    • 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