Skip to main content
Red
Tan

TdxAlphaColors.Blend(TdxAlphaColor,TdxAlphaColor) Method

Blends two specified colors into a new color.

Declaration

class function Blend(AColor: TdxAlphaColor; ABackgroundColor: TdxAlphaColor): TdxAlphaColor; overload; static;

Parameters

Name Type
AColor TdxAlphaColor
ABackgroundColor TdxAlphaColor

Returns

Type
TdxAlphaColor

Remarks

This function returns a solid color calculated based on the red, green, and blue components of the AColor and ABackgroundColor, and the alpha value of the AColor.

See Also