The GrayScaleColor type exposes the following members.
Name | Description | |
---|---|---|
![]() |
GrayScaleColor |
Creates empty GrayScaleColor instance. All channels are initialized with zeros, therefore this color will be represent absolutely black and transparent grayscale value. |
Name | Description | |
---|---|---|
![]() |
Clone |
Creates a full copy of this GrayScaleColor object. |
![]() |
ConvertColorSpace |
Converts color value to another color space. (Inherited from Color.) |
![]() |
Equals |
Compares this GrayScaleColor with specified object. (Overrides Object.Equals(Object).) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
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 |
Returns a hash code for this GrayScaleColor class. (Overrides Object.GetHashCode().) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToArray |
Returns a byte array that contains all channels of the color (8 bits per channel). (Inherited from Color.) |
![]() |
ToArray32 |
Returns an integer numbers array that contains all channels of the color (16 bits per channel). (Inherited from Color.) |
![]() |
ToGdiplusColor |
Returns System.Drawing.Color containing the same color value as this GrayScaleColor does. (Overrides Color.ToGdiplusColor().) |
![]() |
ToInt32 |
Returns non-extended (8 bit per channel) numeric representation of this GrayScaleColor. (Overrides Color.ToInt32().) |
![]() |
ToInt64 |
Returns extended (16 bit per channel) numeric representation of this GrayScaleColor. (Overrides Color.ToInt64().) |
![]() |
ToString |
Returns a string representation of this GrayScaleColor. (Overrides Object.ToString().) |
Name | Description | |
---|---|---|
![]() ![]() |
Implicit | Overloaded. Casts GrayScale color data format. |
Name | Description | |
---|---|---|
![]() |
A |
Returns 8-bit alpha channel value (color opacity). (Overrides Color.A.) |
![]() |
A32 |
Returns 16-bit (extended) alpha channel value (color opacity). (Overrides Color.A32.) |
![]() |
ChannelCount |
Returns number of channels available in this color. (Overrides Color.ChannelCount.) |
![]() |
ColorSpace |
Returns a color space of the color. (Overrides Color.ColorSpace.) |
![]() |
Gray |
Returns 8-bit luminosity channel value. |
![]() |
Gray32 |
Returns 16-bit luminosity channel value. |