PdfStitchingFunction Class
Type 3 functions (PDF 1.3) define a stitching of the subdomains of several 1-input functions to produce a single new 1-input function. Since the resulting stitching function is a 1-input function, the domain is given by a one-element Domain collection.
public sealed class PdfStitchingFunction : PdfFunction
Public NotInheritable Class PdfStitchingFunction
Inherits PdfFunction
- Inheritance:
- System.ObjectPdfStitchingFunction
Constructors
PdfStitchingFunction()
Initializes a new instance of the PdfStitchingFunction class. The Domain, Functions, Bounds, and Encode properties should be subsequently populated.
Properties
Bounds
(Required) A list of k − 1 numbers that, in combination with Domain, shall define the intervals to which each function from the Functions list shall apply. Bounds elements shall be in order of increasing value, and each value shall be within the domain defined by Domain.
Property Value
- System.Collections.Generic.IList<System.Double>
Exceptions
- System.ArgumentNullException
Value is null.
See Also
Encode
(Required) A collection of kPdfNumberRanges that shall map each subset of the domain defined by Domain and the Bounds list to the domain of the corresponding function.
public PdfNumberRangeCollection Encode { get; set; }
Public Property Encode As PdfNumberRangeCollection
Property Value
A collection of kPdfNumberRanges that shall map each subset of the domain defined by Domain and the Bounds list to the domain of the corresponding function.
Exceptions
- System.ArgumentNullException
Value is null.
See Also
Functions
(Required) A list of k 1-input functions that shall make up the stitching function. The output dimensionality of all functions shall be the same, and compatible with the value of Range if Range is present.
public IList<PdfFunction> Functions { get; set; }
Public Property Functions As IList(Of PdfFunction)
Property Value
- System.Collections.Generic.IList<PdfFunction>
A list of k 1-input functions that shall make up the stitching function.
Exceptions
- System.ArgumentNullException
Value is null.
See Also
FunctionType
Gets the Stitching value.
public override PdfFunctionType FunctionType { get; }
Public Overrides ReadOnly Property FunctionType As PdfFunctionType
Property Value
The Stitching value.
Overrides
Inherited Properties
Domain | (Required) A collection of mPdfNumberRanges, where m shall be the number of input values. For each i from 0 to m − 1, Domain[i].First shall be less than or equal to Domain[i].Last, and the ith input value, x[i], shall lie in the interval Domain[i].First ≤ x[i] ≤ Domain[i].Last. Input values outside the declared domain shall be clipped to the nearest boundary value. (Inherited from PdfFunction) |
Metadata | (Optional; PDF 1.4) A metadata stream containing metadata for the component. (Inherited from PdfObject) |
Range | (Required for PdfSampledFunctions and PdfPostScriptCalculatorFunctions, optional otherwise) A collection of nPdfNumberRanges, where n shall be the number of output values. For each j from 0 to n − 1, Range[j].First shall be less than or equal to Range[j].Last, and the jth output value, y[j] , shall lie in the interval Range[j].First ≤ y[j] ≤ Range[j].Last. Output values outside the declared range shall be clipped to the nearest boundary value. If this entry is absent, no clipping shall be done. (Inherited from PdfFunction) |
Inherited Methods
Compile() | Compiles the PDF function described by this PdfFunction instance into executable code and produces a delegate that represents the PDF function. (Inherited from PdfFunction) |
Compile(System.Boolean) | Compiles the PDF function described by this PdfFunction instance into executable code and produces a delegate that represents the PDF function. (Inherited from PdfFunction) |