Gets value stored in specified channel of this color.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Overridable Function GetChannel ( _ colorChannel As ColorChannel _ ) As Byte
public virtual byte GetChannel( ColorChannel colorChannel )
Type: Aurigma.GraphicsMill.ColorChannel
ColorChannel value specifying an alias of channel to retrieve. Draw attention, it does not check color space, so if you pass, say, Yellow to RGB color, you will get a value stored at the same index as yellow in CMYK (i.e. Green).