Index: src/Common/SharpMap.Api/ITheme.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/Common/SharpMap.Api/ITheme.cs (.../ITheme.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/Common/SharpMap.Api/ITheme.cs (.../ITheme.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -22,14 +22,25 @@ namespace SharpMap.Api { - /// - /// Interface for rendering a thematic layer - /// + /// + /// Interface for rendering a thematic layer + /// /// TODO: review ITheme, it should be easier to work with them, check implementation in ArgGIS, uDIG, QGIS... - /// - public interface ITheme : ICloneable + /// + public interface ITheme : ICloneable { /// + /// Returns all themeItems that are part of this theme + /// + /// Color + IEventedList ThemeItems { get; set; } + + /// + /// Theme attribute is used to find the values on which to base the coloring + /// + string AttributeName { get; } + + /// /// Returns the style based on a feature /// /// Attribute to calculate color from @@ -46,12 +57,6 @@ IStyle GetStyle(T value) where T : IComparable, IComparable; /// - /// Returns all themeItems that are part of this theme - /// - /// Color - IEventedList ThemeItems { get; set; } - - /// /// Returns color by value based on current configuration of theme. /// /// ADDED ONLY FOR PERFORMANCE @@ -62,16 +67,11 @@ Color GetFillColor(T value) where T : IComparable; /// - /// Theme attribute is used to find the values on which to base the coloring - /// - string AttributeName { get; } - - /// /// Rescales the Theme based on and . /// /// Minimum value used for the visualisation of the theme /// Maximum value used for the visualisation of the theme /// Returns a new, rescaled theme based on this object. - void ScaleTo(double min, double max ); - } -} + void ScaleTo(double min, double max); + } +} \ No newline at end of file