Table of Contents

Class CalRGBColorSpaceDetails

Namespace
UglyToad.PdfPig.Graphics.Colors
Assembly
UglyToad.PdfPig.dll

CIE (Commission Internationale de l'Éclairage) colorspace. Specifies color related to human visual perception with the aim of producing consistent color on different output devices. CalRGB - A CIE ABC color space with a single transformation. A, B and C represent red, green and blue color values in the range 0.0 to 1.0.

public sealed class CalRGBColorSpaceDetails : ColorSpaceDetails
Inheritance
CalRGBColorSpaceDetails
Inherited Members

Constructors

CalRGBColorSpaceDetails(IReadOnlyList<double>, IReadOnlyList<double>, IReadOnlyList<double>, IReadOnlyList<double>)

public CalRGBColorSpaceDetails(IReadOnlyList<double> whitePoint, IReadOnlyList<double> blackPoint, IReadOnlyList<double> gamma, IReadOnlyList<double> matrix)

Parameters

whitePoint IReadOnlyList<double>
blackPoint IReadOnlyList<double>
gamma IReadOnlyList<double>
matrix IReadOnlyList<double>

Properties

BlackPoint

An array of three numbers [XB YB ZB] specifying the tristimulus value, in the CIE 1931 XYZ space of the diffuse black point. All three numbers must be non-negative. Default value: [0.0 0.0 0.0].

public IReadOnlyList<double> BlackPoint { get; }

Property Value

IReadOnlyList<double>

Gamma

An array of three numbers [GR GG GB] specifying the gamma for the red, green and blue (A, B, C) components of the color space. Default value: [1.0 1.0 1.0].

public IReadOnlyList<double> Gamma { get; }

Property Value

IReadOnlyList<double>

Matrix

An array of nine numbers [XA YA ZA XB YB ZB XC YC ZC] specifying the linear interpretation of the decoded A, B, C components of the color space with respect to the final XYZ representation. Default value: [1 0 0 0 1 0 0 0 1].

public IReadOnlyList<double> Matrix { get; }

Property Value

IReadOnlyList<double>

NumberOfColorComponents

public override int NumberOfColorComponents { get; }

Property Value

int

WhitePoint

An array of three numbers [XW YW ZW] specifying the tristimulus value, in the CIE 1931 XYZ space of the diffuse white point. The numbers XW and ZW shall be positive, and YW shall be equal to 1.0.

public IReadOnlyList<double> WhitePoint { get; }

Property Value

IReadOnlyList<double>

Methods

GetColor(params double[])

public override IColor GetColor(params double[] values)

Parameters

values double[]

Returns

IColor

GetInitializeColor()

public override IColor GetInitializeColor()

Returns

IColor