Class SolidColorBrushInterpolator
Interpolator which converts a numeric value from its [RangeMinimum, RangeMaximum] range to a color in the range [From, To].
Inheritance
System.Object
SolidColorBrushInterpolator
Inherited Members
System.Windows.FrameworkElement.RegisterName(System.String, System.Object)
System.Windows.FrameworkElement.UnregisterName(System.String)
Namespace: System.Windows.Controls.DataVisualization
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public class SolidColorBrushInterpolator : RangeInterpolator<Color>
Methods
| Improve this Doc View SourceInterpolate(Double)
Interpolates the given value between its [RangeMinimum, RangeMaximum] range and returns a color in the range [From, To].
Declaration
public override object Interpolate(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | Value to interpolate. |
Returns
Type | Description |
---|---|
System.Object | An interpolated color in the range [From, To]. |