FromArgb()
Contents
[
Hide
]Color::FromArgb(int) method
Constructs an instance of Color class that reprsents the specfied color.
static Color System::Drawing::Color::FromArgb(int argb)
Arguments
Parameter | Type | Description |
---|---|---|
argb | int | A 32-bit ARGB value of the color to be represented by the object being constructed |
Return Value
An object that represents the specified color.
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)
Arguments
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 |
Return Value
An object that represents the specified color.
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)
Arguments
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 |
Return Value
An object that represents the specified color.
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)
Arguments
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 |
Return Value
An object that represents the specified color.
See Also
- Class Color
- Namespace System::Drawing
- Library Aspose.Slides