public abstract class Shading extends PDFObject
Modifier and Type | Field and Description |
---|---|
protected Dictionary |
dictionary
The dictionary.
|
Modifier | Constructor and Description |
---|---|
protected |
Shading(int number,
ShadingType shadingType)
Creates a new shading instance.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getObjectBytes()
Returns the bytes that go between the 'obj' and 'endobj' in the
PDF output for this object.
|
ShadingType |
getShadingType()
Returns the shading type.
|
getGeneration, getNumber, getReference, toPDFBytes
protected Dictionary dictionary
protected Shading(int number, ShadingType shadingType)
number
- the PDF object number.shadingType
- the shading type (null
not permitted).public ShadingType getShadingType()
null
).public byte[] getObjectBytes()
getObjectBytes
in class PDFObject