Click or drag to resize

FreeFormPattern Class

Represents the type 4 shadings (Free-Form Gouraud-Shaded Triangle Meshes).
Inheritance Hierarchy
SystemObject
  Patagames.Pdf.Net.PatternsPdfPattern
    Patagames.Pdf.Net.PatternsPdfShadingPattern
      Patagames.Pdf.Net.PatternsFreeFormPattern

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

The FreeFormPattern type exposes the following members.

Constructors
 NameDescription
Public methodFreeFormPattern Create new Free-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 propertyBitsPerFlag Gets or sets the number of bits used to represent the edge flag for each vertex.
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 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
Ffree-form Gouraud-shaded triangle meshes are commonly used to represent complex colored and shaded three-dimensional shapes. The area to be shaded is defined by a path composed entirely of triangles. The color at each vertex of the triangles is specified, and a technique known as Gouraud interpolation is used to color the interiors.
See Also