Blends two colors.

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public static Color AlphaBlend(
	Color sourceColor,
	Color alphaColor
)
Visual Basic
Public Shared Function AlphaBlend ( 
	sourceColor As Color,
	alphaColor As Color
) As Color
Visual C++
public:
static Color AlphaBlend(
	Color sourceColor, 
	Color alphaColor
)
F#
static member AlphaBlend : 
        sourceColor : Color * 
        alphaColor : Color -> Color 

Parameters

sourceColor
Type: System.Drawing..::..Color
The source color.
alphaColor
Type: System.Drawing..::..Color
The color which is blended with the source color. The intensity of blending is specified by the alpha-channel of the alphaColor

Return Value

Type: Color
The resulting Color. The alpha channel of the returning Color will be identical to alpha-channel of the sourceColor

See Also