public class PdfType4Function extends AbstractPdfFunction<PdfStream>
| Constructor and Description |
|---|
PdfType4Function(double[] domain,
double[] range,
byte[] code) |
PdfType4Function(PdfStream dict) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
calculate(double[] input)
Calculates one set of input components to one set of output components.
|
boolean |
checkCompatibilityWithColorSpace(PdfColorSpace alternateSpace)
Chacks wether the output of the function matches in components with the passed by color space.
|
protected boolean |
isWrappedObjectMustBeIndirect()
Defines if the object behind this wrapper must be an indirect object in the
resultant document.
|
calculateFromByteArray, calculateFromByteArray, clip, clipInput, clipOutput, getAsPdfObject, getDomain, getFunctionType, getInputSize, getOutputSize, getRange, normalize, setDomain, setRangeensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, flush, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidReleasepublic PdfType4Function(PdfStream dict)
public PdfType4Function(double[] domain,
double[] range,
byte[] code)
public boolean checkCompatibilityWithColorSpace(PdfColorSpace alternateSpace)
AbstractPdfFunctioncheckCompatibilityWithColorSpace in interface IPdfFunctioncheckCompatibilityWithColorSpace in class AbstractPdfFunction<PdfStream>alternateSpace - The color space to verify againstpublic double[] calculate(double[] input)
IPdfFunctioninput - The input values size must contain IPdfFunction.getInputSize() itemsIPdfFunction.getOutputSize() items containing the resultprotected boolean isWrappedObjectMustBeIndirect()
PdfObjectWrapperisWrappedObjectMustBeIndirect in class PdfObjectWrapper<PdfStream>Copyright © 1998–2022 iText Group NV. All rights reserved.