|
This class represents the type 5 shading dictionary. This is
definitively detailed in:.
The ISO PDF Specification, ISO 32000-1:2008 PDF 1.7; Table: 83,
page 193.
The ISO PDF
Specification, ISO 32000-2:2017 PDF 2.0; Table: 82, page 240.
This class is always an indirect object because it is also a
StreamElement and these are always indirect objects.
A Type 5 shading encodes a lattice-form triangle mesh where
vertices are arranged in a rectangular grid of rows. Adjacent rows
share edges to form a strip of triangles without explicit edge
flags.
BitsPerCoordinate and BitsPerComponent set the bit depths for
coordinates and color components respectively. These values
determine how each vertex's data is decoded from the stream.
VerticesPerRow gives the fixed number of vertices in each row of
the lattice. The mesh is formed by pairing each row with the next,
producing two triangles per pair of adjacent vertices.
The Decode array maps encoded integer values to the coordinate
and color component ranges used during rendering.
The optional Function entry allows a single tint value per
vertex in place of full color components, with the function
converting that tint to the shading's color space.
System.Object
WebSupergoo.ABCpdf14.Elements.Element
WebSupergoo.ABCpdf14.Elements.ShadingElement
WebSupergoo.ABCpdf14.Elements.Type5ShadingElement
|