Class Pattern

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Pattern.ShadingPattern
      A shading pattern object.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Pattern​(int number)
      Creates a new pattern object.
    • Constructor Detail

      • Pattern

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

      • 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.