Class BorderStyleUtil


  • class BorderStyleUtil
    extends java.lang.Object
    • Constructor Detail

      • BorderStyleUtil

        private BorderStyleUtil()
    • Method Detail

      • setDashPattern

        public static final PdfDictionary setDashPattern​(PdfDictionary bs,
                                                         PdfArray dashPattern)
        Setter for the dashed border style. This property has affect only if PdfAnnotation.STYLE_DASHED style was used for border style (see setStyle(PdfDictionary, PdfName). See ISO-320001 8.4.3.6, "Line Dash Pattern" for the format in which dash pattern shall be specified.
        Parameters:
        bs - original border style dictionary.
        dashPattern - a dash array defining a pattern of dashes and gaps that shall be used in drawing a dashed border.
        Returns:
        Updated border style dictionary entry.