Class PdfDashPattern


@Deprecated public class PdfDashPattern extends PdfArray
Deprecated.
A PdfDashPattern defines a dash pattern as described in the PDF Reference Manual version 1.3 p 325 (section 8.4.3).
See Also:
  • Constructor Details

    • PdfDashPattern

      public PdfDashPattern()
      Deprecated.
      Constructs a new PdfDashPattern.
    • PdfDashPattern

      public PdfDashPattern(float dash)
      Deprecated.
      Constructs a new PdfDashPattern.
      Parameters:
      dash - dash
    • PdfDashPattern

      public PdfDashPattern(float dash, float gap)
      Deprecated.
      Constructs a new PdfDashPattern.
      Parameters:
      dash - dash
      gap - gap
    • PdfDashPattern

      public PdfDashPattern(float dash, float gap, float phase)
      Deprecated.
      Constructs a new PdfDashPattern.
      Parameters:
      dash - dash
      gap - gap
      phase - phase
  • Method Details

    • add

      public void add(float n)
      Deprecated.
    • toPdf

      public void toPdf(PdfWriter writer, OutputStream os) throws IOException
      Deprecated.
      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 - on error