Class AnnotationBorderStyle

java.lang.Object
org.openpdf.renderer.annotation.AnnotationBorderStyle

public class AnnotationBorderStyle extends Object
Annotation border style
  • Field Details

  • Constructor Details

    • AnnotationBorderStyle

      public AnnotationBorderStyle()
      Creates a annotation border style
  • Method Details

    • parseFromDictionary

      public static AnnotationBorderStyle parseFromDictionary(PDFObject bs) throws IOException
      Parse a border style from a BS dictionary.
      Parameters:
      bs - the pdf dictionary to parse.
      Returns:
      the border style object.
      Throws:
      IOException
    • getBorderStyle

      public AnnotationBorderStyle.BorderStyle getBorderStyle()
      Returns:
      the border style enum
    • getWidth

      public Integer getWidth()
      Returns:
      the width of the border line
    • getDashArray

      public int[] getDashArray()
      Returns:
      specifying the dash for the border line