Click or drag to resize

LatticeFormPattern Class

Represents the type 5 shadings (Lattice-Form Gouraud-Shaded Triangle Meshes).
Inheritance Hierarchy
SystemObject
  Patagames.Pdf.Net.PatternsPdfPattern
    Patagames.Pdf.Net.PatternsPdfShadingPattern
      Patagames.Pdf.Net.PatternsLatticeFormPattern

Namespace: Patagames.Pdf.Net.Patterns
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
Syntax
public class LatticeFormPattern : PdfShadingPattern

The LatticeFormPattern type exposes the following members.

Constructors
 NameDescription
Public methodLatticeFormPattern Create new Lattice-Form Gouraud-Shaded Triangle Meshes pattern.
Top
Properties
 NameDescription
Public propertyBitsPerComponent Gets or sets the number of bits used to represent each color component.
Public propertyBitsPerCoordinate Gets or sets the number of bits used to represent each vertex coordinate.
Public propertyColorMax Gets or sets an array of numbers that specifies the maximum value of each vertex color component contained in the vertex collection.
Public propertyColorMin Gets or sets an array of numbers that specifies the minimum value of each vertex color component contained in the vertex collection.
Public propertyFunctions Gets or sets a 1-in, n-out function or an array of n 1-in, 1-out functions where n is the number of color components in the shading color space.
(Overrides PdfShadingPatternFunctions)
Public propertyStream Gets the shading stream
Public propertyVertices Gets or sets a sequence of vertex coordinates and color data that define the triangle mesh.
Public propertyVerticesPerRow Gets or sets the number of vertices in each row of the triangle.
Public propertyXMax Gets or sets the maximum horizontal coordinate of a vertex contained in the vertex collection.
Public propertyXMin Gets or sets the minimum horizontal coordinate of a vertex contained in the vertex collection.
Public propertyYMax Gets or sets the maximum vertical coordinate of a vertex contained in the vertex collection.
Public propertyYMin Gets or sets the minimum vertical coordinate of a vertex contained in the vertex collection.
Top
Remarks
Type 5 shadings (lattice-form Gouraud-shaded triangle meshes) are similar to FreeFormPattern, but instead of using free-form geometry, their vertices are arranged in a pseudorectangular lattice, which is topologically equivalent to a rectangular grid. The vertices are organized into rows, which need not be geometrically linear.
See Also