Skip to content

PdfColorMask Constructors

Overloads

Name Description
PdfColorMask() Initializes a new PdfColorMask object.
PdfColorMask(PdfColor,PdfColor) Initializes a new PdfColorMask object.

PdfColorMask()

Initializes a new PdfColorMask object.

C#
public PdfColorMask()

PdfColorMask(PdfColor,PdfColor)

Initializes a new PdfColorMask object.

C#
public PdfColorMask(PdfColor startColor, PdfColor endColor)

Parameters

startColor PdfColor

The start of the colors range to be masked out.

endColor PdfColor

The start of the colors range to be masked out.

Remarks

Both colors must have the same colorspace that also must match the image's colorspace.