Declaration ​
pascal
function BlendComponents(fColor: TColor32; fAlpha: Cardinal; bColor: TColor32; bAlpha: Cardinal): TColor32; virtual; abstract;Parameters ​
| Parameter | Type | Description |
|---|---|---|
fColor | TColor32 | Foreground RGB color (alpha ignored). |
fAlpha | Cardinal | Foreground alpha value (0..255). |
bColor | TColor32 | Background RGB color (alpha ignored). |
bAlpha | Cardinal | Background alpha value (0..255). |
Returns ​
| Type | Description |
|---|---|
TColor32 | The resulting blended 32-bit ARGB color. |
Description ​
BlendComponents is the abstract worker method overridden by derived component blenders to combine foreground RGB fColor and alpha fAlpha with background RGB bColor and alpha bAlpha.