Class PdfMeshShading
Free-form, lattice and patch mesh shadings (types 4–7). Triangles are consecutive vertex triples, Gouraud-shaded; patches are subdivided by the backend at device resolution. When FunctionLut is set, the parametric value is interpolated and then mapped through the table (t normalised to 0..1 over /Domain), as the specification requires.
public sealed record PdfMeshShading : PdfShading, IEquatable<PdfShading>, IEquatable<PdfMeshShading>
- Inheritance
-
PdfMeshShading
- Implements
- Inherited Members
Constructors
PdfMeshShading(IReadOnlyList<PdfMeshVertex>, IReadOnlyList<PdfMeshPatch>, IReadOnlyList<PdfColor>?, PdfRect)
Free-form, lattice and patch mesh shadings (types 4–7). Triangles are consecutive vertex triples, Gouraud-shaded; patches are subdivided by the backend at device resolution. When FunctionLut is set, the parametric value is interpolated and then mapped through the table (t normalised to 0..1 over /Domain), as the specification requires.
public PdfMeshShading(IReadOnlyList<PdfMeshVertex> Triangles, IReadOnlyList<PdfMeshPatch> Patches, IReadOnlyList<PdfColor>? FunctionLut, PdfRect Bounds)
Parameters
TrianglesIReadOnlyList<PdfMeshVertex>PatchesIReadOnlyList<PdfMeshPatch>FunctionLutIReadOnlyList<PdfColor>BoundsPdfRect
Properties
Bounds
public PdfRect Bounds { get; init; }
Property Value
FunctionLut
public IReadOnlyList<PdfColor>? FunctionLut { get; init; }
Property Value
Patches
public IReadOnlyList<PdfMeshPatch> Patches { get; init; }
Property Value
Triangles
public IReadOnlyList<PdfMeshVertex> Triangles { get; init; }