Color::Color(BYTE,BYTE,BYTE,BYTE) method (gdipluscolor.h)

Creates a Color::Color object by using specified values for the alpha, red, green, and blue components.

Syntax

void Color(
  [in] BYTE a,
  [in] BYTE r,
  [in] BYTE g,
  [in] BYTE b
);

Parameters

[in] a

Type: BYTE

Byte that specifies the alpha component.

[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

Requirement Value
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

See also

Color

Color Constructors