Class ChoroplethColorizationStrategy
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public class ChoroplethColorizationStrategy : IColorizationStrategy, IMapLegendInfoProvider
Constructors
ChoroplethColorizationStrategy()
Initializes a new instance of the ChoroplethColorizationStrategy class.
Declaration
public ChoroplethColorizationStrategy()
Properties
Colors
Gets or sets the colors.
Declaration
public List<Color> Colors { get; set; }
Property Value
System.Collections.Generic.List<System.Drawing.Color>
The colors. |
ColorStops
Gets or sets the color stops.
Declaration
public List<double> ColorStops { get; set; }
Property Value
System.Collections.Generic.List<System.Double>
The color stops. |
ValueProvider
Gets or sets the value provider.
Declaration
public IColorizationValueProvider ValueProvider { get; set; }
Property Value
IColorizationValueProvider
The value provider. |
Methods
ColorizeElement(MapGeometry)
Colorizes the provided element.
Declaration
public void ColorizeElement(MapGeometry colorizable)
Parameters
MapGeometry
colorizable
The colorizable. |
Implements
GetColorizerColor(Double)
Gets the color for the given value.
Declaration
protected virtual Color GetColorizerColor(double value)
Parameters
System.Double
value
The value. |
Returns
System.Drawing.Color
Color. |
GetLegendInfo(MapLegendElement)
Gets the legend information need by the RadMap legend.
Declaration
public virtual List<MapLegendInfoItem> GetLegendInfo(MapLegendElement mapElement)
Parameters
MapLegendElement
mapElement
The map element. |
Returns
System.Collections.Generic.List<MapLegendInfoItem>
List<MapLegendInfoItem>. |
Implements
TryGetValue(MapGeometry, out Double)
Tries the get the value of the given geometry.
Declaration
protected virtual bool TryGetValue(MapGeometry colorizable, out double value)
Parameters
MapGeometry
colorizable
The colorizable. |
System.Double
value
The value. |
Returns
System.Boolean
|