Class CIMColor
Supports colors in the CIM model by providing low level access to properties common amongst all color types.
public abstract class CIMColor : CIMObject
- Inheritance
-
CIMColor
- Derived
- Inherited Members
Remarks
This is the base color type which provides access to the color values and color space. Alpha is always the last value in the value array.
Constructors
CIMColor()
protected CIMColor()
Properties
ColorSpace
Gets or sets the color space of the color. This color space is defined by an ICC color profile (except for spot colors which use a dedicated color space definition).
public CIMColorSpace ColorSpace { get; set; }
Property Value
Remarks
For color types for which color profiles are available (RGB, HSL, HSV and CMYK), the color space should be defined and its URL should match the color profile defined on the container (map, layout, report or style) for the given color type: RGB, HSL or HSV color => RGB color profile. CMYK color => CMYK color profile.
Values
Gets or sets the values for the color and alpha channels as defined by the color model. Alpha is the last value in the array for all colors.
public double[] Values { get; set; }
Property Value
- double[]