A patch mesh shading: Coons patches (Type 6) or tensor-product patches (Type 7), colours given at the corners.
public sealed class PdfPatchMeshShading : PdfMeshShading
ISO 32000-2 §8.7.4.5.7 (Tables 83 and 84) and §8.7.4.5.8 (Table 85). Every patch is stored as the 16 control points of a tensor-product patch: pij (column i along u, row j along v, both 0 to 3) at index 16 × patch + 4 × i + j of ControlPoints. A Coons patch's four interior points are computed from its boundary with the equations of §8.7.4.5.8, so both types draw the same way: S(u, v) = Σ pij Bi(u) Bj(v). The four corner colours are those of p00, p03, p33 and p30, in that order.
Edge flags 1, 2 and 3 share an edge (four points) and two corner colours with the previous patch, as Tables 84 and 85 give; they
are filled in here, so every patch is complete. A patch with such a flag and no patch before it is dropped with a
MeshEdgeFlagInvalid diagnostic. Each patch is read as a whole number of bytes, the Type 4 format the clauses defer to
(§8.7.4.5.5); data whose patches were written back to back (as pdf.js and PDFBox read them) is read that way when only that
reading consumes it cleanly, with a MeshPatchesUnpadded information diagnostic.
kind:method, kind:property, kind:ctor. Press Esc to clear.ControlPointsGets 16 control points per patch, in the shading's target space: pij at 16 × patch + 4 × i + j.CornerColorsGets four corner colours per patch (at p00, p03, p33, p30), ColorStride floats each.IsCoonsGets a value indicating whether the patches are Coons patches (Type 6) rather than tensor-product patches (Type 7).PatchCountGets the number of decoded patches.GetControlPoint(Int32, Int32, Int32)Returns control point pij of a patch.