ARGB.FromArgb Method
Overloads
ARGB.FromArgb(Integer)
Returns a color from an integer.
Syntax
Unit: FlexCel.Core
class function ARGB.FromArgb(const aValue: Integer): TUIColor; static; overload;
Parameters
<-> |
Parameter |
Type |
Description |
const |
aValue |
Integer |
Value as AARRGGBB |
See also
ARGB.FromArgb(Integer, TUIColor)
Returns a color base in other color but with a different transparency.
Syntax
Unit: FlexCel.Core
class function ARGB.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
ARGB.FromArgb(Integer, Integer, Integer)
Creates a color from Red, Green and Blue components without transparency.
Syntax
Unit: FlexCel.Core
class function ARGB.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
ARGB.FromArgb(Integer, Integer, Integer, Integer)
Creates a color from Red, Green and Blue components with transparency.
Syntax
Unit: FlexCel.Core
class function ARGB.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. |
See also