Click or drag to resize

SautinSoft.Pdf.Content.Patterns Namespace

Contains classes and enumerations that implement PDF patterns and shading as specified in the PDF Specification ISO 32000-1:2008, specifically in section '8.7 Patterns'. The base class for all PDF patterns is PdfPattern. PDF patterns can be accessed through the Pattern property of PdfColor. The base class for all PDF shading is PdfShading. Shading can be accessed through the Shading property of PdfShadingPattern and PdfShadingContent.
Classes
 ClassDescription
Public classPdfPattern

Patterns come in two varieties:

  • Tiling patterns consist of a small graphical figure (called a pattern cell) that is replicated at fixed horizontal and vertical intervals to fill the area to be painted. The graphics objects to use for tiling shall be described by a content stream.
  • Shading patterns define a gradient fill that produces a smooth transition between colors across the area. The color to use shall be specified as a function of position using any of a variety of methods.
Public classPdfShading A shading dictionary specifies details of a particular gradient fill, including the type of shading to be used, the geometry of the area to be shaded, and the geometry of the gradient fill.
Public classPdfShadingPattern Shading patterns (PDF 1.3) provide a smooth transition between colors across an area to be painted, independent of the resolution of any particular output device and without specifying the number of steps in the color transition.
Public classPdfTilingPattern A tiling pattern consists of a small graphical figure called a pattern cell. Painting with the pattern replicates the cell at fixed horizontal and vertical intervals to fill an area. The effect is as if the figure were painted on the surface of a clear glass tile, identical copies of which were then laid down in an array covering the area and trimmed to its boundaries. This process is called tiling the area.
Enumerations
 EnumerationDescription
Public enumerationPdfPatternType Represents types of the PdfPatterns.