|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.pdmodel.common.function.PDFunction
This class represents a function in a PDF document.
Constructor Summary | |
PDFunction()
|
Method Summary | |
static PDFunction |
create(COSBase function)
Create the correct PD Model function based on the COS base function. |
abstract PDRange |
getDomainForInput(int n)
This will get the range for a certain input parameter. |
abstract int |
getNumberOfInputParameters()
This will get the number of input parameters that have a domain specified. |
abstract int |
getNumberOfOutputParameters()
This will get the number of output parameters that have a range specified. |
abstract PDRange |
getRangeForOutput(int n)
This will get the range for a certain output parameters. |
abstract void |
setDomainForInput(PDRange range,
int n)
This will set the domain for the input values. |
abstract void |
setRangeForOutput(PDRange range,
int n)
This will set the a range for output parameter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pdfbox.pdmodel.common.COSObjectable |
getCOSObject |
Constructor Detail |
public PDFunction()
Method Detail |
public static PDFunction create(COSBase function) throws IOException
function
- The COS function dictionary.
IOException
- If we are unable to create the PDFunction object.public abstract int getNumberOfOutputParameters()
public abstract PDRange getRangeForOutput(int n)
n
- The output parameter number to get the range for.
public abstract void setRangeForOutput(PDRange range, int n)
range
- The new range for the output parameter.n
- The ouput parameter number to set the range for.public abstract int getNumberOfInputParameters()
public abstract PDRange getDomainForInput(int n)
n
- The parameter number to get the domain for.
public abstract void setDomainForInput(PDRange range, int n)
range
- The new range for the input.n
- The number of the input parameter to set the domain for.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |