Class Index

Classes


Class PDFNet.Function

PDFNet.Function

Class Summary
Constructor Attributes Constructor Name and Description
 
Although PDF is not a programming language it provides several types of function object that represent parameterized classes of functions, including mathematical formulas and sampled representations with arbitrary resolution.
Method Summary
Method Attributes Method Name and Description
 
assign(right)
Copy Constructor
<static>  
PDFNet.Function.create(funct_dict)
create a PDF::Function object from an existing SDF function dictionary.
 
Frees the native memory of the object.
 
eval(inval, outval)
[Documentation Not Yet Added]
 
 
 
 
Class Detail
PDFNet.Function(id)
Although PDF is not a programming language it provides several types of function object that represent parameterized classes of functions, including mathematical formulas and sampled representations with arbitrary resolution. Functions are used in various ways in PDF, including device-dependent rasterization information for high-quality printing (halftone spot functions and transfer functions), color transform functions for certain color spaces, and specification of colors as a function of position for smooth shadings. Functions in PDF represent static, self-contained numerical transformations.

PDF::Function represents a single, flat interface around all PDF function types.
Parameters:
id
Method Detail
assign(right)
Copy Constructor
Parameters:
{Function} right
(generated documentation)

<static> {Function} PDFNet.Function.create(funct_dict)
create a PDF::Function object from an existing SDF function dictionary. If funct_dict is null, a non valid Function object is created.
Parameters:
{Obj} funct_dict
(generated documentation)
Returns:
{Function} A promise that resolves to an object of type: "Function" (generated documentation)

destroy()
Frees the native memory of the object.

eval(inval, outval)
[Documentation Not Yet Added]
Parameters:
{number} inval
(generated documentation)
{number} outval
(generated documentation)

{number} getInputCardinality()
Returns:
{number} A promise that resolves to the number of input components required by the function

{number} getOutputCardinality()
Returns:
{number} A promise that resolves to the number of output components returned by the function

{Obj} getSDFObj()
Returns:
{Obj} A promise that resolves to the underlying SDF/Cos object

{number} getType()
Return value enum:
PDFNet.Function.Type = {
	e_sampled : 0
	e_exponential : 2
	e_stitching : 3
	e_postscript : 4
}
Returns:
{number} A promise that resolves to the function type

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Sep 09 2016 14:32:39 GMT-0700 (PDT)