Skip to content

PDFFunctionShading

Namespace: O2S.Components.PDF4NET.Graphics

Defines a function based (type 1) shading.

public class PDFFunctionShading : PDFShading

Inheritance ObjectPDFShadingPDFFunctionShading

Constructors

PDFFunctionShading()

Initializes a new PDFFunctionShading object.

public PDFFunctionShading()

Properties

AntiAlias

Gets or sets a value indicating whether to filter the shading function to prevent aliasing artifacts.

public bool AntiAlias { get; set; }

Property Value

Boolean
If true, the output device will antialias the shading output.


ColorSpace

Gets or sets the shading color space.

public PDFColorSpace ColorSpace { get; set; }

Property Value

PDFColorSpace
The color space in which color values are expressed.


Domain

Gets or sets the shading domain.

public Double[] Domain { get; set; }

Property Value

Double[]
An array of four numbers [xmin xmax ymin ymax] specifying the rectangular domain of coordinates over which the shading function are defined


Function

Gets or sets the shading function.

public PDFFunction Function { get; set; }

Property Value

PDFFunction
A 2-in, n-out function, where n is the number of color components in the shading dictionary's color space


Matrix

Gets or sets the shading matrix.

public Double[] Matrix { get; set; }

Property Value

Double[]
An array of six numbers specifying a transformation matrix mapping the coordinate space specified by the PDFFunctionShading.Domain entry into the shading's target coordinate space.