|
This class represents the type 4 shading dictionary. This is
definitively detailed in:.
The ISO PDF Specification, ISO 32000-1:2008 PDF 1.7; Table: 82,
page 189.
The ISO PDF
Specification, ISO 32000-2:2017 PDF 2.0; Table: 81, page 236.
This class is always an indirect object because it is also a
StreamElement and these are always indirect objects.
A Type 4 shading encodes a free-form triangle mesh in a stream.
Each vertex carries a flag, a pair of coordinates, and a set of
color components. The flag determines how the vertex connects to
the preceding triangle.
BitsPerCoordinate sets the bit depth of each coordinate value.
BitsPerComponent sets the bit depth of each color component value.
These govern how the raw bytes in the stream are decoded into
numeric values.
BitsPerFlag sets the bit depth of the flag field for each
vertex. The flag value indicates whether the vertex starts a new
triangle or shares an edge with the previous one.
The Decode array maps the encoded integer coordinate and
component values to the actual coordinate ranges and color
component ranges used during rendering.
The optional Function entry replaces the per-vertex color
components with a single tint value per vertex. The function maps
this tint to the full color in the shading's color space. When
present, each vertex carries one component rather than the full
number required by the color space.
System.Object
WebSupergoo.ABCpdf14.Elements.Element
WebSupergoo.ABCpdf14.Elements.ShadingElement
WebSupergoo.ABCpdf14.Elements.Type4ShadingElement
|