TUIColor.FromArgb Method
Overloads
- TUIColor.FromArgb(Integer)
- TUIColor.FromArgb(Integer, TUIColor)
- TUIColor.FromArgb(Integer, Integer, Integer)
- TUIColor.FromArgb(Integer, Integer, Integer, Integer)
TUIColor.FromArgb(Integer)
Returns a color from an integer.
Syntax
Unit: FlexCel.Core
class function TUIColor.FromArgb(const aValue: Integer): TUIColor; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aValue | Integer | Value as AARRGGBB |
See also
TUIColor.FromArgb(Integer, TUIColor)
Returns a color base in other color but with a different transparency.
Syntax
Unit: FlexCel.Core
class function TUIColor.FromArgb(const alpha: Integer; const aColor: TUIColor): TUIColor; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | alpha | Integer | Alpha value for the new color (between 0 and 255) |
const | aColor | TUIColor | Source color. |
See also
TUIColor.FromArgb(Integer, Integer, Integer)
Creates a color from Red, Green and Blue components without transparency.
Syntax
Unit: FlexCel.Core
class function TUIColor.FromArgb(const red: Integer; const green: Integer; const blue: Integer): TUIColor; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | red | Integer | Red component, between 0 and 255. |
const | green | Integer | Red component, between 0 and 255. |
const | blue | Integer | Blue component, between 0 and 255. |
See also
TUIColor.FromArgb(Integer, Integer, Integer, Integer)
Creates a color from Red, Green and Blue components with transparency.
Syntax
Unit: FlexCel.Core
class function TUIColor.FromArgb(const alpha: Integer; const red: Integer; const green: Integer; const blue: Integer): TUIColor; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | alpha | Integer | Alpha component, between 0 (completely transparent) and 255 (completely opaque). |
const | red | Integer | Red component, between 0 and 255. |
const | green | Integer | Red component, between 0 and 255. |
const | blue | Integer | Blue component, between 0 and 255. |