The Color type exposes the following members.
Name | Description | |
---|---|---|
ConvertColorSpace |
Converts color value to another color space. |
|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FromAcmyk |
Returns CmykColor class instance constructed from all 5 channels (alpha, cyan, magenta, yellow, and black). |
|
FromAcmyk32 |
Returns CmykColor class instance constructed from all 5 channels (alpha, cyan, magenta, yellow, and black). |
|
FromAGrayScale |
Returns GrayScaleColor class instance constructed from given luminosity and alpha channel values. |
|
FromAGrayScale32 | Overloaded. Returns GrayScaleColor class instance. |
|
FromAGrayScale64 |
Returns GrayScaleColor class instance constructed from numeric 64-bit representation of grayscale value with alpha channel. |
|
FromArgb |
Returns RgbColor class instance constructed from all 4 channels (alpha, red, green, and blue). |
|
FromArgb32 | Overloaded. Returns RgbColor class instance. |
|
FromArgb64 |
Returns RgbColor class instance constructed from numeric 64-bit representation of RGB value with alpha channel. |
|
FromCmyk |
Returns CmykColor class instance constructed from all 4 color channels (cyan, magenta, yellow, and black). |
|
FromCmyk32 | Overloaded. Returns CmykColor class instance. |
|
FromCmyk64 |
Returns CmykColor class instance constructed from numeric 32-bit representation of CMYK value without alpha channel. |
|
FromGdiplusColor |
Returns RgbColor class instance constructed from System.Drawing.Color value. |
|
FromGrayScale |
Returns GrayScaleColor constructed from specified luminosity level. |
|
FromGrayScale32 |
Returns GrayScaleColor constructed from specified luminosity level. |
|
FromHsl |
Returns RgbColor class instance constructed from hue, saturation, and lightness parameters. |
|
FromRgb |
Returns RgbColor class instance constructed from all 3 color channels (red, green, and blue). |
|
FromRgb32 |
Returns RgbColor class instance constructed from all 3 color channels (red, green, and blue). |
|
GetChannel | Overloaded. Gets value stored in specified channel of this color. |
|
GetChannel32 | Overloaded. Gets extended (16-bit) value stored in specified channel of this color. |
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToArray |
Returns a byte array that contains all channels of the color (8 bits per channel). |
|
ToArray32 |
Returns an integer numbers array that contains all channels of the color (16 bits per channel). |
|
ToGdiplusColor |
Returns System.Drawing.Color containing the same color value as this Color does. |
|
ToInt32 |
Returns non-extended (8 bit per channel) numeric representation of the Color. |
|
ToInt64 |
Returns extended (16 bit per channel) numeric representation of the Color. |
|
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
Implicit | Overloaded. Casts color data format. |
Name | Description | |
---|---|---|
A |
Returns 8-bit alpha channel value (color opacity). |
|
A32 |
Returns 16-bit (extended) alpha channel value (color opacity). |
|
ChannelCount |
Returns number of channels available in this color. |
|
ColorSpace |
Returns a color space of the color. |