Example #1
0
        public Colormap()
        {
            preset            = PalettePresets.PresetName.Classic1;
            palette           = new Color[256];
            numberOfColors    = 16;
            usedColors        = new bool[256];
            colormapPrecision = ColormapPrecision.Medium;
            initialized       = false;

            PalettePresets.SetPalette(preset, this);
        }
Example #2
0
 public void ApplyPreset()
 {
     PalettePresets.ApplyPalette(preset, this);
 }