Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.pdfbox.pdmodel.common.function.PDFunction
org.pdfbox.pdmodel.common.function.PDDictionaryFunction
public abstract class PDDictionaryFunction
extends PDFunction
Constructor Summary | |
| |
|
Method Summary | |
COSDictionary |
|
COSBase | |
PDRange |
|
int | |
int | |
PDRange |
|
void |
|
void |
|
Methods inherited from class org.pdfbox.pdmodel.common.function.PDFunction | |
create , getDomainForInput , getNumberOfInputParameters , getNumberOfOutputParameters , getRangeForOutput , setDomainForInput , setRangeForOutput |
protected PDDictionaryFunction(int functionType)
Constructor to create a new blank function, should only be called by subclasses.
- Parameters:
functionType
- An integer describing the function type, only 0,2,3,4 are defined by the PDF sepc.
public PDDictionaryFunction(COSDictionary functionDictionary)
Constructor.
- Parameters:
functionDictionary
- The prepopulated function dictionary.
public COSDictionary getCOSDictionary()
Get the underlying cos dictionary.
- Returns:
- The underlying cos dictionary.
public PDRange getDomainForInput(int n)
- Overrides:
- getDomainForInput in interface PDFunction
public int getNumberOfInputParameters()
- Overrides:
- getNumberOfInputParameters in interface PDFunction
public int getNumberOfOutputParameters()
- Overrides:
- getNumberOfOutputParameters in interface PDFunction
public PDRange getRangeForOutput(int n)
- Overrides:
- getRangeForOutput in interface PDFunction
public void setDomainForInput(PDRange range, int n)
- Overrides:
- setDomainForInput in interface PDFunction
public void setRangeForOutput(PDRange range, int n)
- Overrides:
- setRangeForOutput in interface PDFunction