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
PdfPattern PdfShadingPattern

Constructors

NameDescription
PdfShadingPattern(PdfShading, PdfMatrix?, PdfExtGState?)Initializes a new instance of the PdfShadingPattern class.

PdfShadingPattern(PdfShading, PdfMatrix?, PdfExtGState?)

PdfShadingPattern.cs

Initializes a new instance of the PdfShadingPattern class.

public PdfShadingPattern(PdfShading shading, PdfMatrix? matrix = null, PdfExtGState? graphicsState = null)

Parameters

shading PdfShading
The shading.
matrix PdfMatrix?
The matrix from the pattern space to the default coordinate space; null for the identity.
graphicsState PdfExtGState?
The graphics state parameters the shading is painted with; null for none.

Properties

NameDescription
GraphicsStateGets the graphics state parameters the shading is painted with.
MatrixGets the matrix from the pattern space to the default coordinate space.
ShadingGets the shading.

Gets the graphics state parameters the shading is painted with.

public PdfExtGState? GraphicsState { get; }

Property value

PdfExtGState?

Gets the matrix from the pattern space to the default coordinate space.

public PdfMatrix? Matrix { get; }

Property value

PdfMatrix?

Gets the shading.

public PdfShading Shading { get; }

Property value

PdfShading