This class represents grayscale color value.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Class GrayScaleColor _ Inherits Color
public class GrayScaleColor : Color
To get access to luminosity component use Gray property. Alpha channel is available through A property. Also there are extended versions of these properties (that returns 16-bit version of the component): Gray32, and A32.
Also you can get components by index using GetChannel(Int32) method.
This class implements cast operator for other color types as well as for System.Drawing.Color. Note, when you convert colors, no color management is applied. To convert colors with color management, use ConvertColor(Color, ColorProfile) method of PixelFormatConverter class.