Builds a gradient map with a transform function.
Namespace: ElecNetKit.Graphing.AdaptiveGradientsAssembly: ElecNetKit.Graphing (in ElecNetKit.Graphing.dll) Version: 1.1.4771.27373 (1.1.0.0)
Syntax
public AdaptiveGradientMap<T> BuildGradientMap<T>( Func<Color, T> TransformFunction )
Parameters
- TransformFunction
- Type:
System Func
Color, T
A function that transforms aColor into a T.
Type Parameters
- T
- The type of AdaptiveGradientMap T
to build (think
Brush,
Pen, etc).
Return Value
The corresponding map.See Also