CalRGBColorSpace Class Documentation
classCalRGBColorSpace : ColorSpaceNamespace:Datalogics::PDFL
- Inherits from:
ColorSpace
Detailed Description
A calibrated RGB color space.
A CalRGB color space (Red, Green, Blue) is a CIE-based ABC color space with only one transformation stage instead of two.
In this type of space, A, B, and C represent calibrated red, green, and blue color values. These three color components must be in the range 0.0 to 1.0; component values falling outside that range are adjusted to the nearest valid value without error indication.
Referenced by
Uses types
Constructor & Destructor Documentation
CalRGBColorSpace
CalRGBColorSpace(CalRGBColorSpacerhs, InternalConstructsignifier)Parameters
rhs: CalRGBColorSpacesignifier: InternalConstruct
CalRGBColorSpace
CalRGBColorSpace(System.Collections.Generic.IList< System.Double >whitePoint)Parameters
whitePoint: System.Collections.Generic.IList< System.Double >An array of three numbers specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse white point. The numbers X and Z must be positive, and Y must be equal to 1.0.
Create a CalRGB color space.
The blackPoint defaults to [0.0, 0.0, 0.0].
The gamma defaults to [1.0, 1.0, 1.0].
The matrix defaults to [1 0 0 0 1 0 0 0 1]
CalRGBColorSpace
CalRGBColorSpace(System.Collections.Generic.IList< System.Double >whitePoint, System.Collections.Generic.IList< System.Double >blackPoint, System.Collections.Generic.IList< System.Double >gamma, System.Collections.Generic.IList< System.Double >matrix)Parameters
whitePoint: System.Collections.Generic.IList< System.Double >An array of three numbers specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse white point. The numbers X and Z must be positive, and Y must be equal to 1.0.
blackPoint: System.Collections.Generic.IList< System.Double >An array of three numbers specifying the tristimulus value, in the CIE 1931 XYZ space, of the diffuse black point. All three of these numbers must be non-negative.
gamma: System.Collections.Generic.IList< System.Double >An array of three numbers [ GR GG GB ] specifying the gamma for the red, green, and blue (A, B, and C) components of the color space.
matrix: System.Collections.Generic.IList< System.Double >An array of nine numbers [ XA YA ZA XB YB ZB XC YC ZC ] specifying the linear interpretation of the decoded A, B, and C components of the color space with respect to the final XYZ representation.
Create a CalRGB color space.
Property Documentation
BlackPoint
System.Collections.Generic.IList< System.Double >BlackPoint[get]DeviceCMYK
static ColorSpaceDeviceCMYK[get]DeviceGray
static ColorSpaceDeviceGray[get]DeviceRGB
static ColorSpaceDeviceRGB[get]DeviceRGBA
static ColorSpaceDeviceRGBA[get]Gamma
System.Collections.Generic.IList< System.Double >Gamma[get]Lab
static ColorSpaceLab[get]LabA
static ColorSpaceLabA[get]Matrix
System.Collections.Generic.IList< System.Double >Matrix[get]Name
stringName[get]NumComponents
intNumComponents[get]PDFObject
PDFObjectPDFObject[get]WhitePoint
System.Collections.Generic.IList< System.Double >WhitePoint[get]Member Function Documentation
ConstructorRetrieve
static new static CalRGBColorSpaceConstructorRetrieve(System.IntPtrignored)Parameters
ignored: System.IntPtr
Returns:
new static CalRGBColorSpaceDispose
voidDispose()Returns:
voidDisposeChildren
voidDisposeChildren()Returns:
voidEquals
override boolEquals(objectobj)Parameters
obj: object
Returns:
override boolSameTypeEquals
boolSameTypeEquals(ColorSpaceother)Parameters
other: ColorSpace
Returns:
boolToString
override stringToString()Returns:
override stringConvert a colorSpace to a string.
operator!=
static booloperator!=(ColorSpacea, ColorSpaceb)Parameters
a: ColorSpaceb: ColorSpace
Returns:
booloperator==
static booloperator==(ColorSpacea, ColorSpaceb)Parameters
a: ColorSpaceb: ColorSpace
Returns:
bool