Esri Business Analyst Server API for Silverlight 2.2 Reference
MixColors Method
See Also  Send Feedback
ESRI.ArcGIS.Client.BACore.ThematicMapping Namespace > ColorRamp Class : MixColors Method

color1
The first color.
color2
The second color.
value
A value in the range from 0 to 1 specifying a proportion to mix colors with.

Glossary Item Box

Mixes two colors using linear interpolation.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Parameters

color1
The first color.
color2
The second color.
value
A value in the range from 0 to 1 specifying a proportion to mix colors with.

Return Value

Mixed color.

Remarks

Channels of colors are mixed by the formula:

mixedColor.X = color1.X*(1-value) + color2.X*value.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010-2012 Esri, Inc. All Rights Reserved.