Package com.orsonpdf

Class Pattern

Direct Known Subclasses:
Pattern.ShadingPattern

public abstract class Pattern extends PDFObject
A pattern object (see the concrete subclass Pattern.ShadingPattern).
  • Field Details

  • Constructor Details

    • Pattern

      protected Pattern(int number)
      Creates a new pattern object.
      Parameters:
      number - the PDF object number.
  • Method Details

    • getObjectBytes

      public byte[] getObjectBytes()
      Returns the bytes that go between the 'obj' and 'endobj' in the PDF output for this object.
      Specified by:
      getObjectBytes in class PDFObject
      Returns:
      A byte array.