COSObjectablepublic class PDFunctionType4 extends PDFunction
See section 3.9.4 of the PDF 1.4 Reference.
| Constructor | Description |
|---|---|
PDFunctionType4(COSBase functionStream) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
float[] |
eval(float[] input) |
Evaluates the function at the given input.
|
int |
getFunctionType() |
Returns the function type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclipToRange, clipToRange, create, eval, getCOSObject, getDomainForInput, getNumberOfInputParameters, getNumberOfOutputParameters, getPDStream, getRangeForOutput, getRangeValues, interpolate, setDomainValues, setRangeValues, toStringpublic PDFunctionType4(COSBase functionStream) throws java.io.IOException
functionStream - The function stream.java.io.IOException - if an I/O error occurs while reading the functionpublic int getFunctionType()
getFunctionType in class PDFunctionpublic float[] eval(float[] input)
throws java.io.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.java.io.IOException - an IOExcpetion is thrown if something went wrong processing the function.Copyright © 2002–2018. All rights reserved.