public abstract class Function extends PDFObject
PDFGraphics2D
class, only
EXPONENTIAL_INTERPOLATION
and STITCHING
are used
so far (to support gradient paint implementations).Modifier and Type | Field and Description |
---|---|
protected Dictionary |
dictionary
The function dictionary.
|
Modifier | Constructor and Description |
---|---|
protected |
Function(int number,
FunctionType functionType)
Creates a new function.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getDomain()
Returns the function domain.
|
FunctionType |
getFunctionType()
Returns the function type.
|
byte[] |
getObjectBytes()
Returns the bytes that go between the 'obj' and 'endobj' in the
PDF output for this object.
|
void |
setDomain(double[] domain)
Sets the domain for the function.
|
getGeneration, getNumber, getReference, toPDFBytes
protected Dictionary dictionary
protected Function(int number, FunctionType functionType)
number
- the PDF object number.functionType
- the function type (null
not permitted).public FunctionType getFunctionType()
null
).public double[] getDomain()
null
).public void setDomain(double[] domain)
domain
- the domain (null
not permitted).public byte[] getObjectBytes()
getObjectBytes
in class PDFObject