Click or drag to resize

ExtensionsClassCalculateGradient2 Method

LightningChart .NET Help
Calculate gradient for Wpf

Namespace:  Arction.Wpf.Charting
Assembly:  Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public static Color CalculateGradient2(
	this Color colorFrom,
	Color colorTo,
	double positionPercents
)

Parameters

colorFrom
Type: System.DrawingColor

[Missing <param name="colorFrom"/> documentation for "M:Arction.Wpf.Charting.ExtensionsClass.CalculateGradient2(System.Drawing.Color,System.Drawing.Color,System.Double)"]

colorTo
Type: System.DrawingColor

[Missing <param name="colorTo"/> documentation for "M:Arction.Wpf.Charting.ExtensionsClass.CalculateGradient2(System.Drawing.Color,System.Drawing.Color,System.Double)"]

positionPercents
Type: SystemDouble

[Missing <param name="positionPercents"/> documentation for "M:Arction.Wpf.Charting.ExtensionsClass.CalculateGradient2(System.Drawing.Color,System.Drawing.Color,System.Double)"]

Return Value

Type: Color

[Missing <returns> documentation for "M:Arction.Wpf.Charting.ExtensionsClass.CalculateGradient2(System.Drawing.Color,System.Drawing.Color,System.Double)"]

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