Package com.orsonpdf
Class Pattern
- java.lang.Object
-
- com.orsonpdf.PDFObject
-
- com.orsonpdf.Pattern
-
- Direct Known Subclasses:
Pattern.ShadingPattern
public abstract class Pattern extends PDFObject
A pattern object (see the concrete subclassPattern.ShadingPattern).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPattern.ShadingPatternA shading pattern object.
-
Field Summary
Fields Modifier and Type Field Description protected Dictionarydictionary
-
Constructor Summary
Constructors Modifier Constructor Description protectedPattern(int number)Creates a new pattern object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getObjectBytes()Returns the bytes that go between the 'obj' and 'endobj' in the PDF output for this object.-
Methods inherited from class com.orsonpdf.PDFObject
getGeneration, getNumber, getReference, toPDFBytes
-
-
-
-
Field Detail
-
dictionary
protected Dictionary dictionary
-
-
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:
getObjectBytesin classPDFObject- Returns:
- A byte array.
-
-