/Main/src/DynamicDataDisplay.Maps/Charts/ColorMaps/ColorMapBuilder.cs
C# | 34 lines | 30 code | 4 blank | 0 comment | 0 complexity | 5518681086deb724c6736be453c50089 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
1using System; 2using System.Collections.Generic; 3using System.Linq; 4using System.Text; 5using Microsoft.Research.DynamicDataDisplay.DataSources; 6using Microsoft.Research.DynamicDataDisplay.Common.Palettes; 7 8namespace Microsoft.Research.DynamicDataDisplay.Maps.Charts.ColorMaps 9{ 10 public sealed class ColorMapBuilder 11 { 12 private IDataSource2D<double> dataSource; 13 private DataRect visible; 14 private IPalette palette; 15 16 public IPalette Palette 17 { 18 get { return palette; } 19 set { palette = value; } 20 } 21 22 public DataRect Visible 23 { 24 get { return visible; } 25 set { visible = value; } 26 } 27 28 public IDataSource2D<double> DataSource 29 { 30 get { return dataSource; } 31 set { dataSource = value; } 32 } 33 } 34}