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.3.286
Syntax
C#
public static Color MixWith(
	this Color color,
	Color MixedColor,
	double Percent
)

Parameters

color  Color
This color
MixedColor  Color
The color to mix with
Percent  Double
0.0-1.0 how much towards the mixed color the result should be

Return Value

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