Table of Contents

Class PdfMeshShading

Namespace
PdfEngine.Vector
Assembly
PdfEngine.Abstractions.dll

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

Triangles IReadOnlyList<PdfMeshVertex>
Patches IReadOnlyList<PdfMeshPatch>
FunctionLut IReadOnlyList<PdfColor>
Bounds PdfRect

Properties

Bounds

public PdfRect Bounds { get; init; }

Property Value

PdfRect

FunctionLut

public IReadOnlyList<PdfColor>? FunctionLut { get; init; }

Property Value

IReadOnlyList<PdfColor>

Patches

public IReadOnlyList<PdfMeshPatch> Patches { get; init; }

Property Value

IReadOnlyList<PdfMeshPatch>

Triangles

public IReadOnlyList<PdfMeshVertex> Triangles { get; init; }

Property Value

IReadOnlyList<PdfMeshVertex>