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 class
Pattern.ShadingPattern
A shading pattern object.
-
Field Summary
Fields Modifier and Type Field Description protected Dictionary
dictionary
-
Constructor Summary
Constructors Modifier Constructor Description protected
Pattern(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:
getObjectBytes
in classPDFObject
- Returns:
- A byte array.
-
-