Compartilhar via


Color.Color constructors

This topic lists the constructors of the Color class. For a complete class listing, see Color Class.

Overload list

Constructor Description
Color(ARGB)

Creates a Color::Color object by using an ARGB value.

Color(BYTE,BYTE,BYTE)

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).

Color(BYTE,BYTE,BYTE,BYTE)

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

Color()

Creates a Color::Color object and initializes it to opaque black. This is the default constructor.

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012