Creates a function-based shading (Type 1): the colour of every point (x, y) of domain is the function's value there.
public PdfFunctionShading CreateFunctionShading(PdfColorSpace colorSpace, PdfFunction function, PdfRectangle domain, Matrix matrix, PdfShadingOptions? options)
The shading's colour space: a space of this document, not Pattern or Indexed.
A function of this document from two inputs (x, y) to the colour space's components, defined over domain.
The rectangle of (x, y) values the shading covers (Domain [xmin xmax ymin ymax]), in the shading's own space.
The transformation from the domain's space to the shading's target space (Matrix); the identity is not written.
The optional entries (not ExtendStart or ExtendEnd); null for none.
ISO 32000-2 §8.7.4.5.2, Table 78 (PDF 1.3). Records PDF 1.3 and the function's version. A mutation.