Table of Contents

Class CalGrayColorSpaceDetails

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. CalGray - A CIE A color space with a single transformation. A represents the gray component of a calibrated gray space. The component must be in the range 0.0 to 1.0.

public sealed class CalGrayColorSpaceDetails : ColorSpaceDetails
Inheritance
CalGrayColorSpaceDetails
Inherited Members

Constructors

CalGrayColorSpaceDetails(IReadOnlyList<double>, IReadOnlyList<double>, double?)

public CalGrayColorSpaceDetails(IReadOnlyList<double> whitePoint, IReadOnlyList<double> blackPoint, double? gamma)

Parameters

whitePoint IReadOnlyList<double>
blackPoint IReadOnlyList<double>
gamma 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

A number defining the gamma for the gray (A) component. Gamma must be positive and is generally greater than or equal to 1. Default value: 1.

public double Gamma { get; }

Property Value

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