This class represents the type 2 function dictionary. This is definitively detailed in:.

The ISO PDF Specification, ISO 32000-1:2008 PDF 1.7; Table: 40, page 96.

The ISO PDF Specification, ISO 32000-2:2017 PDF 2.0; Table: 40, page 126.

A Type 2 function defines an exponential interpolation between two values. It computes the output as C0 + x^N * (C1 - C0), where x is the input value and N is the interpolation exponent.

C0 and C1 are arrays giving the output values at input 0 and input 1 respectively. Their length equals the number of output components. When absent, C0 defaults to [0] and C1 defaults to [1].

The N entry is the interpolation exponent. For N equal to 1, the function is a linear interpolation. For N equal to 2 or greater, the interpolation follows a power curve that rises more slowly near 0 and more steeply near 1. Fractional values of N are permitted.

Type 2 functions are commonly used as tint transforms in Separation and DeviceN color spaces and as the color function in axial and radial shadings.

System.Object
    WebSupergoo.ABCpdf14.Elements.Element
       WebSupergoo.ABCpdf14.Elements.FunctionElement
          WebSupergoo.ABCpdf14.Elements.Type2FunctionElement

 

   
   
Method
Description
Type2FunctionElement Create a new Type2FunctionElement.
inherited methods...

 

   
   
Property
Description
EntryC0 Represents the "C0" entry of the type 2 function dictionary object.
EntryC1 Represents the "C1" entry of the type 2 function dictionary object.
EntryN Represents the "N" entry of the type 2 function dictionary object.
inherited properties...