|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.common.function.PDFunction
org.apache.pdfbox.pdmodel.common.function.PDFunctionType4
public class PDFunctionType4
This class represents a type 4 function in a PDF document.
See section 3.9.4 of the PDF 1.4 Reference.
| Constructor Summary | |
|---|---|
PDFunctionType4(COSBase functionStream)
Constructor. |
|
| Method Summary | |
|---|---|
float[] |
eval(float[] input)
Evaluates the function at the given input. |
int |
getFunctionType()
Returns the function type. |
| Methods inherited from class org.apache.pdfbox.pdmodel.common.function.PDFunction |
|---|
clipToRange, clipToRange, create, eval, getCOSObject, getDictionary, getDomainForInput, getNumberOfInputParameters, getNumberOfOutputParameters, getPDStream, getRangeForOutput, getRangeValues, interpolate, setDomainValues, setRangeValues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDFunctionType4(COSBase functionStream)
throws IOException
functionStream - The function stream.
IOException - if an I/O error occurs while reading the function| Method Detail |
|---|
public int getFunctionType()
getFunctionType in class PDFunction
public float[] eval(float[] input)
throws IOException
eval in class PDFunctioninput - The array of input values for the function.
In many cases will be an array of a single value, but not always.
IOException - an IOExcpetion is thrown if something went wrong processing the function.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||