Package org.openpdf.renderer.annotation
Class AnnotationBorderStyle
java.lang.Object
org.openpdf.renderer.annotation.AnnotationBorderStyle
Annotation border style
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]getWidth()static AnnotationBorderStyleParse a border style from a BS dictionary.
-
Field Details
-
width
-
borderStyle
-
dashArray
private int[] dashArray
-
-
Constructor Details
-
AnnotationBorderStyle
public AnnotationBorderStyle()Creates a annotation border style
-
-
Method Details
-
parseFromDictionary
Parse a border style from a BS dictionary.- Parameters:
bs- the pdf dictionary to parse.- Returns:
- the border style object.
- Throws:
IOException
-
getBorderStyle
- Returns:
- the border style enum
-
getWidth
- Returns:
- the width of the border line
-
getDashArray
public int[] getDashArray()- Returns:
- specifying the dash for the border line
-