Esempio n. 1
0
 /// <summary>
 /// Creates a new <see cref="PAL"/> instance.
 /// </summary>
 /// <param name="colors"><see cref="ColorPalette"/> instance.</param>
 /// <param name="ranges"><see cref="ColorRangeTable"/> instance.</param>
 public PAL(ColorPalette colors, ColorRangeTable ranges)
 {
     this.Colors = colors;
     this.Ranges = ranges;
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new <see cref="PAL"/> instance.
 /// </summary>
 /// <param name="colors"><see cref="ColorPalette"/> instance.</param>
 public PAL(ColorPalette colors)
 {
     this.Colors = colors;
     this.Ranges = new ColorRangeTable();
 }