Table of Contents

Constructor PdfLabColorSpace

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

PdfLabColorSpace(PdfDocument, double[])

Initializes a new instance of the PdfLabColorSpace class.

public PdfLabColorSpace(PdfDocument document, double[] whitePoint)

Parameters

document PdfDocument

The document to which this color space belongs.

whitePoint double[]

An array of three numbers [Xw Yw Zw] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse white point.

Remarks

The numbers Xw and Zw must be positive, and Yw must be equal to 1.0.

Black point array is assumed to be [0.0 0.0 0.0].

Range is assumed to be [−100 100 −100 100].

PdfLabColorSpace(PdfDocument, double[], double[])

Initializes a new instance of the PdfLabColorSpace class.

public PdfLabColorSpace(PdfDocument document, double[] whitePoint, double[] blackPoint)

Parameters

document PdfDocument

The document to which this color space belongs.

whitePoint double[]

An array of three numbers [Xw Yw Zw] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse white point.

blackPoint double[]

An array of three numbers [Xb Yb Zb] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse black point. Can be null.

Remarks

The numbers Xw and Zw must be positive, and Yw must be equal to 1.0.

All three numbers in the blackPoint array must be non-negative. If blackPoint array is null then the black point array is assumed to be [0.0 0.0 0.0].

PdfLabColorSpace(PdfDocument, double[], double[]?, double[]?)

Initializes a new instance of the PdfLabColorSpace class.

public PdfLabColorSpace(PdfDocument document, double[] whitePoint, double[]? blackPoint, double[]? range)

Parameters

document PdfDocument

The document to which this color space belongs.

whitePoint double[]

An array of three numbers [Xw Yw Zw] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse white point.

blackPoint double[]

An array of three numbers [Xb Yb Zb] specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse black point. Can be null.

range double[]

An array of four numbers [amin amax bmin bmax] specifying the range of valid values for the a* and b* (B and C) components of the color space. Can be null.

Remarks

The numbers Xw and Zw must be positive, and Yw must be equal to 1.0.

All three numbers in the blackPoint array must be non-negative. If blackPoint array is null then the black point array is assumed to be [0.0 0.0 0.0].

If range array is null then the range array is assumed to be [−100 100 −100 100].