PdfShadingPattern Class
A shading pattern (ISO 32000-2, 8.7.4): a color that paints with a shading. It does not belong to a document; the instances are immutable.
public sealed class PdfShadingPattern : PdfPattern- Inheritance
PdfPatternPdfShadingPattern
Constructors
| Name | Description |
|---|---|
| PdfShadingPattern(PdfShading, PdfMatrix?, PdfExtGState?) | Initializes a new instance of the PdfShadingPattern class. |
PdfShadingPattern(PdfShading, PdfMatrix?, PdfExtGState?)
PdfShadingPattern.csInitializes a new instance of the PdfShadingPattern class.
public PdfShadingPattern(PdfShading shading, PdfMatrix? matrix = null, PdfExtGState? graphicsState = null)Parameters
shadingPdfShading- The shading.
matrixPdfMatrix?- The matrix from the pattern space to the default coordinate space;
nullfor the identity. graphicsStatePdfExtGState?- The graphics state parameters the shading is painted with;
nullfor none.
Properties
| Name | Description |
|---|---|
| GraphicsState | Gets the graphics state parameters the shading is painted with. |
| Matrix | Gets the matrix from the pattern space to the default coordinate space. |
| Shading | Gets the shading. |
GraphicsState
PdfShadingPattern.csGets the graphics state parameters the shading is painted with.
public PdfExtGState? GraphicsState { get; }Property value
Matrix
PdfShadingPattern.csGets the matrix from the pattern space to the default coordinate space.
public PdfMatrix? Matrix { get; }