Class FDFAnnotationCircle

java.lang.Object
org.apache.pdfbox.pdmodel.fdf.FDFAnnotation
org.apache.pdfbox.pdmodel.fdf.FDFAnnotationCircle
All Implemented Interfaces:
COSObjectable

public class FDFAnnotationCircle extends FDFAnnotation
This represents a Circle FDF annotation.
  • Field Details

  • Constructor Details

    • FDFAnnotationCircle

      public FDFAnnotationCircle()
      Default constructor.
    • FDFAnnotationCircle

      public FDFAnnotationCircle(COSDictionary a)
      Constructor.
      Parameters:
      a - An existing FDF Annotation.
    • FDFAnnotationCircle

      public FDFAnnotationCircle(Element element) throws IOException
      Constructor.
      Parameters:
      element - An XFDF element.
      Throws:
      IOException - If there is an error extracting information from the element.
  • Method Details

    • initFringe

      private void initFringe(Element element) throws IOException
      Throws:
      IOException
    • setInteriorColor

      public final void setInteriorColor(Color color)
      This will set interior color of the drawn area.
      Parameters:
      color - The interior color of the circle.
    • getInteriorColor

      public Color getInteriorColor()
      This will retrieve the interior color of the drawn area.
      Returns:
      object representing the color.
    • setFringe

      public final void setFringe(PDRectangle fringe)
      This will set the fringe rectangle. Giving the difference between the annotations rectangle and where the drawing occurs. (To take account of any effects applied through the BE entry for example)
      Parameters:
      fringe - the fringe
    • getFringe

      public PDRectangle getFringe()
      This will get the fringe. Giving the difference between the annotations rectangle and where the drawing occurs. (To take account of any effects applied through the BE entry for example)
      Returns:
      the rectangle difference