ComponentOne FinancialChart for WPF
Blend Method



C1.WPF Namespace > ColorEx Class : Blend Method
The color to blend onto the backgroundColor.
The background color.
How much of color to keep, 搊n top of?backgroundColor.
Blends the specified colors together.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function Blend( _
   ByVal color As Brush, _
   ByVal backgroundColor As Brush, _
   ByVal amount As Double _
) As Brush
'Usage
 
Dim color As Brush
Dim backgroundColor As Brush
Dim amount As Double
Dim value As Brush
 
value = ColorEx.Blend(color, backgroundColor, amount)
[Extension()]
public static Brush Blend( 
   Brush color,
   Brush backgroundColor,
   double amount
)

Parameters

color
The color to blend onto the backgroundColor.
backgroundColor
The background color.
amount
How much of color to keep, 搊n top of?backgroundColor.
See Also

Reference

ColorEx Class
ColorEx Members