Color::Color(BYTE,BYTE,BYTE) method (gdipluscolor.h)
Creates a Color::Color object by using specified values for the red, green, and blue components. This constructor sets the alpha component to 255 (opaque).
Syntax
void Color(
[in] BYTE r,
[in] BYTE g,
[in] BYTE b
);
Parameters
[in] r
Type: BYTE
Byte that specifies the red component.
[in] g
Type: BYTE
Byte that specifies the green component.
[in] b
Type: BYTE
Byte that specifies the blue component.
Return value
None
Requirements
| Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | gdipluscolor.h (include Gdiplus.h) |
| Library | Gdiplus.lib |
| DLL | Gdiplus.dll |