Class PdfDashPattern

    • Constructor Detail

      • PdfDashPattern

        public PdfDashPattern()
        Constructs a new PdfDashPattern.
      • PdfDashPattern

        public PdfDashPattern​(float dash)
        Constructs a new PdfDashPattern.
      • PdfDashPattern

        public PdfDashPattern​(float dash,
                              float gap)
        Constructs a new PdfDashPattern.
      • PdfDashPattern

        public PdfDashPattern​(float dash,
                              float gap,
                              float phase)
        Constructs a new PdfDashPattern.
    • Method Detail

      • add

        public void add​(float n)
      • toPdf

        public void toPdf​(PdfWriter writer,
                          OutputStream os)
                   throws IOException
        Returns the PDF representation of this PdfArray.
        Overrides:
        toPdf in class PdfArray
        Parameters:
        writer - for backwards compatibility
        os - the OutputStream to write the bytes to.
        Throws:
        IOException