Click or drag to resize

ExtensionsMixWith Method

Mixes the current color with another color by a specified amount

Namespace:  Advanced_Combat_Tracker
Assembly:  Advanced Combat Tracker (in Advanced Combat Tracker.exe) Version: 3.8.2.285
Syntax
C#
public static Color MixWith(
	this Color color,
	Color MixedColor,
	double Percent
)

Parameters

color
Type: System.DrawingColor
This color
MixedColor
Type: System.DrawingColor
The color to mix with
Percent
Type: SystemDouble
0.0-1.0 how much towards the mixed color the result should be

Return Value

Type: Color
A color between the two source colors

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Color. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also