System::Drawing::Color::FromArgb method
Contents
[
Hide
]Color::FromArgb(int, Color) method
Constructs an instance of Color class that reprsents the specfied color.
static Color System::Drawing::Color::FromArgb(int alpha, Color base_color)
Parameter | Type | Description |
---|---|---|
alpha | int | A value of the alpah component of the color |
base_color | Color | An instance of Color object that represents the red, green and blue components of the color to be represented by the object being created |
ReturnValue
An object that represents the specified color.
See Also
- Class Color
- Class Color
- Namespace System::Drawing
- Library Aspose.PUB for C++
Color::FromArgb(int, int, int, int) method
Constructs an instance of Color class that reprsents the specfied color.
static Color System::Drawing::Color::FromArgb(int alpha, int red, int green, int blue)
Parameter | Type | Description |
---|---|---|
alpha | int | A value of the alpah component of the color |
red | int | A value of the red component of the color |
green | int | A value of the green component of the color |
blue | int | A value of the blue component of the color |
ReturnValue
An object that represents the specified color.
See Also
- Class Color
- Class Color
- Namespace System::Drawing
- Library Aspose.PUB for C++
Color::FromArgb(int) method
Constructs an instance of Color class that reprsents the specfied color.
static Color System::Drawing::Color::FromArgb(int argb)
Parameter | Type | Description |
---|---|---|
argb | int | A 32-bit ARGB value of the color to be represented by the object being constructed |
ReturnValue
An object that represents the specified color.
See Also
- Class Color
- Class Color
- Namespace System::Drawing
- Library Aspose.PUB for C++
Color::FromArgb(int, int, int) method
Constructs an instance of Color class that reprsents the specfied color with alpha component set to 0xFF.
static Color System::Drawing::Color::FromArgb(int red, int green, int blue)
Parameter | Type | Description |
---|---|---|
red | int | A value of the red component of the color |
green | int | A value of the green component of the color |
blue | int | A value of the blue component of the color |
ReturnValue
An object that represents the specified color.
See Also
- Class Color
- Class Color
- Namespace System::Drawing
- Library Aspose.PUB for C++