double CBCGPColorPickerCtrl::GetLuminance | ( | int | nIndex = -1 | ) | const |
Retrieves the luminance component of the selected color
Call this function to retrieve the luminance component of the selected color.
nIndex | Specifies a color index. If this parametr is -1, the currently selected color is used. |