A triangle mesh shading: free-form (Type 4) or lattice-form (Type 5), colours given at the vertices.
public sealed class PdfTriangleMeshShading : PdfMeshShading
ISO 32000-2 §8.7.4.5.5 (Table 81) and §8.7.4.5.6 (Table 82). Vertices and VertexColors hold the decoded vertices; Triangles three vertex indices per triangle, in the order they are painted. A colour inside a triangle is the linear interpolation of its vertices' colours (of t, then the function, when the shading has one).
Type 4 edge flags: 0 starts a triangle from this vertex and the next two (whose flags are ignored); after a triangle (va, vb, vc),
1 makes (vb, vc, vd) and 2 makes (va, vc, vd). A flag of 3, or 1 or 2 with no triangle before it, skips the vertex with a
MeshEdgeFlagInvalid diagnostic. Type 5: the vertices form rows of VerticesPerRow, each cell two triangles
(Vi,j, Vi,j+1, Vi+1,j) and (Vi,j+1, Vi+1,j, Vi+1,j+1); an
incomplete last row is dropped with MeshLatticeIncomplete.
kind:method, kind:property, kind:ctor. Press Esc to clear.TriangleCountGets the number of triangles.VertexColorsGets the vertices' colours, ColorStride floats per vertex.VertexCountGets the number of decoded vertices that belong to triangles.VerticesGets the decoded vertices, in the shading's target space.VerticesPerRowGets the number of vertices per row of a lattice (Type 5); 0 for a free-form mesh.