Class PdfFunctionShading
Type 1 function-based shading (ISO 32000-2 8.7.4.5.2): colour = f(x, y) over Domain in shading space, mapped to the current user space by Matrix. Evaluate returns the RGB colour (alpha 0 outside the domain).
public sealed record PdfFunctionShading : PdfShading, IEquatable<PdfShading>, IEquatable<PdfFunctionShading>
- Inheritance
-
PdfFunctionShading
- Implements
- Inherited Members
Constructors
PdfFunctionShading(PdfRect, PdfMatrix, Func<double, double, PdfColor>)
Type 1 function-based shading (ISO 32000-2 8.7.4.5.2): colour = f(x, y) over Domain in shading space, mapped to the current user space by Matrix. Evaluate returns the RGB colour (alpha 0 outside the domain).
public PdfFunctionShading(PdfRect Domain, PdfMatrix Matrix, Func<double, double, PdfColor> Evaluate)
Parameters
Properties
Domain
public PdfRect Domain { get; init; }
Property Value
Evaluate
public Func<double, double, PdfColor> Evaluate { get; init; }
Property Value
Matrix
public PdfMatrix Matrix { get; init; }