C# Class SharpMap.Rendering.Thematics.CustomTheme

The CustomTheme class is used for defining your own thematic rendering by using a custom get-style-delegate.
Inheritance: ITheme
Show file Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
CustomTheme ( GetStyleMethod getStyleMethod ) : System

Initializes a new instance of the CustomTheme class

GetStyle ( SharpMap row ) : SharpMap.Styles.IStyle

Returns the color based on an attribute value

Method Details

CustomTheme() public method

Initializes a new instance of the CustomTheme class
public CustomTheme ( GetStyleMethod getStyleMethod ) : System
getStyleMethod GetStyleMethod
return System

GetStyle() public method

Returns the color based on an attribute value
public GetStyle ( SharpMap row ) : SharpMap.Styles.IStyle
row SharpMap DataRow
return SharpMap.Styles.IStyle