public class Function_4 extends Function
Type 4 Function (PDF 1.3), also called a PostScript calculator function, shall be represented as a stream containing code written n a small subset of the PostScript language.
Type 4 functions offer greater flexibility and potentially greater accuracy then exponential functions (type 2 functions). Type 4 functions also make it possible to include a wide variety of halftone spots functions without the loss of accuracy that comes from sampling, and without adding to the list a predefined spot function (10.5.3 spot functions). All of the predefined spot functions can be written as type 4 functions.
domain, DOMAIN_NAME, functionType, FUNCTIONTYPE_NAME, range, RANGE_NAME| Constructor and Description |
|---|
Function_4(Dictionary d) |
| Modifier and Type | Method and Description |
|---|---|
float[] |
calculate(float[] x)
Puts the value x thought the function type 4 algorithm.
|
getDomain, getFunction, getFunctionType, getRange, interpolatepublic Function_4(Dictionary d)