/// <summary> /// Creates a new instance of ColorRampBuilder /// </summary> /// <param name="maximum">THe maximum value</param> /// <param name="minimum">The minimum value</param> public ColorRampBuilder(double minimum, double maximum) { _colorBreaks = new ColorBreakList(); _minimum = minimum; _maximum = maximum; Configure(); }
/// <summary> /// Creates this item as a base class to be fleshed out later. /// </summary> protected ColorRampBuilder() { _colorBreaks = new ColorBreakList(); Configure(); }
/// <summary> /// This can be used by derivative classes to create a new, empty instance of a ColorRampBuilder /// where Minimum and Maximum are overridden. /// </summary> protected ColorRampBuilder(ILegendItem parent) { _parent = parent; _colorBreaks = new ColorBreakList(parent); Configure(); }
/// <summary> /// Creates a new instance of ColorRampBuilder /// </summary> /// <param name="minimum">The minimum value</param> /// <param name="maximum">The maximum value</param> /// <param name="parent">The legend item to use as a parent</param> public ColorRampBuilder(double minimum, double maximum, ILegendItem parent) { _parent = parent; _colorBreaks = new ColorBreakList(parent); _minimum = minimum; _maximum = maximum; Configure(); }