TDrawingColor.FromRgb Method
Overloads
- TDrawingColor.FromRgb(Byte, Byte, Byte)
- TDrawingColor.FromRgb(Byte, Byte, Byte, TColorTransformArray)
TDrawingColor.FromRgb(Byte, Byte, Byte)
Returns a color from its byte components.
Syntax
Unit: FlexCel.Core
class function TDrawingColor.FromRgb(const r: Byte; const g: Byte; const b: Byte): TDrawingColor; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | r | Byte | Red component. |
const | g | Byte | Green component. |
const | b | Byte | Blue component. |
See also
TDrawingColor.FromRgb(Byte, Byte, Byte, TColorTransformArray)
Returns a color from its byte components.
Syntax
Unit: FlexCel.Core
class function TDrawingColor.FromRgb(const r: Byte; const g: Byte; const b: Byte; const aTransforms: TArray<TColorTransform>): TDrawingColor; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | r | Byte | Red component. |
const | g | Byte | Green component. |
const | b | Byte | Blue component. |
const | aTransforms | TArray<TColorTransform> | Transformations you want to apply. |