示例#1
0
 private IEnumColors method_1(IColorRamp icolorRamp_1, int int_1)
 {
     if (icolorRamp_1 == null)
     {
         icolorRamp_1 = this.MakeNewRamp();
     }
     return(ColorManage.CreateColors(icolorRamp_1, int_1));
 }
示例#2
0
 private IEnumColors method_1(IColorRamp icolorRamp_1, int int_0)
 {
     if (icolorRamp_1 == null)
     {
         IAlgorithmicColorRamp ramp = new AlgorithmicColorRampClass
         {
             FromColor = ColorManage.CreatColor(160, 0, 0),
             ToColor   = ColorManage.CreatColor(255, 200, 200),
             Algorithm = esriColorRampAlgorithm.esriLabLChAlgorithm
         };
         icolorRamp_1 = ramp;
     }
     return(ColorManage.CreateColors(icolorRamp_1, int_0));
 }