TUIColor.FromArgb Method
Overloads
- TUIColor.FromArgb(Int32, TUIColor)
- TUIColor.FromArgb(Int32, Int32, Int32)
- TUIColor.FromArgb(Int32, Int32, Int32, Int32)
TUIColor.FromArgb(Int32, TUIColor)
Returns a color base in other color but with a different transparency.
Syntax
Namespace: FlexCel.Core
public static TUIColor FromArgb(Int32 alpha, TUIColor aColor)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
alpha | Int32 | Alpha value for the new color (between 0 and 255) | |
aColor | TUIColor | Source color. |
See also
TUIColor.FromArgb(Int32, Int32, Int32)
Creates a color from Red, Green and Blue components without transparency.
Syntax
Namespace: FlexCel.Core
public static TUIColor FromArgb(Int32 red, Int32 green, Int32 blue)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
red | Int32 | Red component, between 0 and 255. | |
green | Int32 | Red component, between 0 and 255. | |
blue | Int32 | Blue component, between 0 and 255. |
See also
TUIColor.FromArgb(Int32, Int32, Int32, Int32)
Creates a color from Red, Green and Blue components with transparency.
Syntax
Namespace: FlexCel.Core
public static TUIColor FromArgb(Int32 alpha, Int32 red, Int32 green, Int32 blue)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
alpha | Int32 | Alpha component, between 0 (completely transparent) and 255 (completely opaque). | |
red | Int32 | Red component, between 0 and 255. | |
green | Int32 | Red component, between 0 and 255. | |
blue | Int32 | Blue component, between 0 and 255. |